You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fitted a 3 way interaction with my data. And somehow when using plot_model i get an error with my continuous variable (distance to water - written as 'distToWater')
Here is the how the data, code, and error looks like;
plot_model(M5,type="int") scale(distToWater) was not found in model terms. Maybe misspelled?
Error in names(x) <- value :
'names' attribute [8] must be the same length as the vector [7]
In addition: Warning message:
In names(focal_terms) != colnames(datlist) :
longer object length is not a multiple of shorter object length
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have fitted a 3 way interaction with my data. And somehow when using plot_model i get an error with my continuous variable (distance to water - written as 'distToWater')
Here is the how the data, code, and error looks like;
M5 <- glmer(fixtypebinary ~ scale(distToWater) * sex * scale(ndvi2) +
scale(distToWater) * year * season + (1 | month1) + (1 | animal), data = RSFsub_combined,
family = binomial(link = "logit"),nAGQ = 0, na.action = "na.fail")
RSF5 <- dredge(M5)
RSF5
rsf <- get.models(RSF5, subset = delta<2)
rsf
plot_model(M5,type="int")
Error Output
Beta Was this translation helpful? Give feedback.
All reactions