Learn R Programming

yaImpute (version 1.0-29)

yaiRFsummary: Build Summary Data For Method RandomForest

Description

When method randomforest is used to build a yai object, the randomForest package computes several statistics. This function summarizes some of them, including the variable importance scores computed by function yaiVarImp.

Usage

yaiRFsummary(object, nTop=0)

Arguments

object

an object of class yai.

nTop

the nTop most important variables are plotted (returned).

Value

A list containing:

forestAttributes

a data frame reporting the error rates and other data from the randomForest(s).

scaledImportance

the data frame computed by yaiVarImp.

See Also

yai, yaiVarImp