>> I was trying to produced bagged importance estimates of attributes in earth >> using the caret package with the following commands: >> >> fit2 <- bagEarth(loyalty ~ ., data=model1, B = 10) >> bagImpGCV <- varImp(fit2,value="gcv") >> >> My bootstrap estimates are produced however the second command "varImp" >> produces the following error: >> >> Error in UseMethod("varImp") : no applicable method for "varImp" >> >> Not sure what is going on, any advice would be appreciated,
If you want to send me the data (off-list please) or a reproducible example, I will take a look at it. Max ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.