Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试
margins(me.model.glm, at = list(LOC = c("0","1"))
在类似的情况下,这对我有用。请注意,如果我只为因子变量输入一个值,例如
margins(me.model.glm, at = list(LOC = "0"))
我得到一个错误。我必须为因子变量的每个级别提供值