Description Usage Arguments Details Author(s) Examples
summary comprise N_fold I_repeated cross validation statistics and aggragated importance of variables. a forestFloor_Object is of class forestFloor and is the output of the forestFloor function.
1 2 |
x |
x also abbrivated ff, forestFloor_Object the output from the forestFloor function |
... |
... other arguments passed to generic print function |
prints short help text for usage of a forestFloor_object
Soren Havelund Welling
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
#simulate data
obs=1000
vars = 6
X = data.frame(replicate(vars,rnorm(obs)))
Y = with(X, X1^2 + sin(X2*pi) + 2 * X3 * X4 + 0.5 * rnorm(obs))
#grow a forest, remeber to include inbag
rfo=randomForest::randomForest(X,Y,keep.inbag=TRUE)
#compute topology
ff = forestFloor(rfo,X)
#print forestFloor
print(ff)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.