bestRF: Function to select the best rf, but this could be in the...

Description Usage Arguments

Description

Random forest is obtained with all vars, oob error is computed and the most important variables an iterated process consists on creating a new rf with the (1-vars.drop.frac)*vars more important obtained in the previous step and generating a new rf model. The process stops when abs(mean(oob error)+sd(oob error)) is >= than previous step or only two vars are left

Usage

1
bestRF(xdata, Y, ntree = 100, vars.drop.frac = 0.2, verbose = FALSE)

Arguments

xdata

data set to be analyzed

Y

var to analyze

ntree

number of trees

vars.drop.frac

fraction of variables removed at each iteration step, it selects the most important variables 1-fraction at each step


isglobal-brge/nlOmicAssoc documentation built on May 9, 2019, 8:16 a.m.