[R] party::cforest - predict?

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Feb 23 19:04:55 CET 2013



On 14.02.2013 20:29, James Jong wrote:
> What is the function call interface for predict in the package party for
> cforest? I am looking at the documentation (the vignette) and ?cforest and
> from the examples I see that one can call the function predict on a cforest
> classifier. The method predict seems to be a method of the class
>   RandomForest objects of which are returned by cforest.
>
> ---------------------------
>> cf.model = cforest(...)
>> methods(class=class(cf.model))
> [1] predict.RandomForest*    predictors.RandomForest* print.RandomForest*
>
> [4] varImp.RandomForest*     weights.RandomForest*
>
>     Non-visible functions are asterisked
> ---------------------------
>
> But I could not find the list of arguments that predict for cforest accepts.
>
> The link on the function "predict" in the vignette (wherever it is
> mentioned) just takes you to the front page. Is the API for predict missing
> from the documentation?

If you found that so far, the rest is simple to get more help on the 
method for the predict generic for class randomForest:

library("randomForest")
?predict.randomForest

Best,
Uwe Ligges

> Thanks,
>
> James
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list