[R] Earth (MARS) package with categorical predictors

Chris Wilkinson kinsham at verizon.net
Fri Nov 8 05:16:18 CET 2013


It appears to be legitimate to include multi-level categorical and continuous variables in defining the model for earth (e.g. y ~ cat + cont1 + cont2) but is it also then possible use categoricals in the predict method using the earth result? I tried but it returns an error which is not very informative.

Thanks

Chris


More information about the R-help mailing list