print.gradientForest: Printing 'gradientForest' or 'combinedGradientForest' objects

Description Usage Arguments Value Author(s) References See Also Examples

Description

Print method for gradientForest and combinedGradientForest objects.

Usage

1
2
3
4
5
## S3 method for class 'gradientForest'
print(x, ...)

## S3 method for class 'combinedGradientForest'
print(x,...)

Arguments

x

an object of class gradientForest generated by gradientForest or an object of an object of class combinedGradientForest generated by combinedGradientForest.

...

further arguments passed to or from other methods.

Value

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.

Author(s)

N. Ellis, CSIRO, Cleveland, Australia. <[email protected]>

References

Ellis, N., Smith, S.J., and Pitcher, C.R. (2012). Gradient Forests: calculating importance gradients on physical predictors. Ecology, 93, 156–168.

See Also

gradientForest, combinedGradientForest

Examples

1
2
3
4
5
6
7
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)

slarge/gradientForest documentation built on May 3, 2019, 4:05 p.m.