Displaying 1 result from an estimated 1 matches for "landcover_gb".
2010 Mar 19
0
relaimpo - dummy variable
...elaimpo).
I have a model with numerical predictors and one dummy (class) variable. I
would like to calculate the relative importance of the predictors but I have
some problems with the dummy variable.
The name of the linear model is "lmbroadst.lc" and the dummy variable is
"datacon.landcover_gb" (with 7 levels). I write the command as:
boot <- boot.relimp(lmbroadst.lc, b = 500, type = c("lmg", "last", "first"),
rank = TRUE, group = datacon.landcover_gb,
diff = TRUE, rela = TRUE)
The error message is:
Error in boot.relimp.lm(lmbroadst.lc, b = 500,...