importanceExportWrapper: Importance Export Wrapper (internal)

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

View source: R/importanceExportWrapper.R

Description

wrapping randomForest::importance and check if one and only one importance is exported

Usage

1

Arguments

rf

object of class randomForest

type

type of importance, 1 permutation based, 2 loss function based (gini/least squares)

class

character of factor level to get class specific importance, only for type 1 importance for classification random forest

scale

TRUE FALSE or NULL, passed to randomForest::importance

Details

internal wrapper to get importance

Value

vector of importance for each feature

Author(s)

Soren Havelund Welling, 2017

See Also

importance

Examples

1
#no examples only for internal use

sorhawell/forestFloor documentation built on Oct. 23, 2021, 2:20 a.m.