print.gradientForest {gradientForest} | R Documentation |
gradientForest
or combinedGradientForest
objects
Print method for gradientForest
and combinedGradientForest
objects.
## S3 method for class 'gradientForest' print(x, ...) ## S3 method for class 'combinedGradientForest' print(x,...)
x |
an object of class |
... |
further arguments passed to or from other methods. |
Provides a brief summary of of the number of trees in the forest for the number of species with positive R^2 as well as a list of
the important predictor variables. If x
is a combinedGradientForest
object, this function provides
the number of gradientForest
objects that were combined.
N. Ellis, CSIRO, Cleveland, Australia. <Nick.Ellis@csiro.au>
Ellis, N., Smith, S.J., and Pitcher, C.R. (2012). Gradient Forests: calculating importance gradients on physical predictors. Ecology, 93, 156–168.
gradientForest
, combinedGradientForest
data(CoMLsimulation) preds <- colnames(Xsimulation) specs <- colnames(Ysimulation) f1 <- gradientForest(data.frame(Ysimulation,Xsimulation), preds, specs, ntree=10) f1 f2 <- gradientForest(data.frame(Ysimulation,Xsimulation), preds, specs[1:6+6], ntree=10) f12 <- combinedGradientForest(west=f1,east=f2)