![]() ![]() #>Global model call: lm(formula = y ~ (X1 + X2 + X3 + X4), data = Cement) However, the problem is gone when I define the model as follows: library(MuMIn) #>Error: object of type 'symbol' is not subsettable Model.formula Fixed term is "(Intercept)" I was getting the error when I was defining the model in the following way: library(MuMIn) I solved the problem by defining the model directly into the lm() function. #> (Intrc) X1 X2 X3 X4 adjR^2 df logLik AICc delta weight No.MODEL.PRED Fixed term is "(Intercept)" Perhaps your value for No.MODEL.PRED is not set correctly as a numeric? library(MuMIn) ![]() The following Reproducible Example shows that the function works as you require. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |