[R] bagged importance estimates in earth problem

Max Kuhn mxkuhn at gmail.com
Sun May 17 19:29:44 CEST 2009


>> 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




More information about the R-help mailing list