rpms_forest: rpms_forest

Description Usage Arguments Value

View source: R/extend_21_03_03.R

Description

produces a random forest using rpms to create the individual trees.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
rpms_forest(
  rp_equ,
  data,
  weights = ~1,
  strata = ~1,
  clusters = ~1,
  e_fn = "survLm",
  l_fn = NULL,
  bin_size = 5,
  f_size = 500,
  cores = 1
)

Arguments

rp_equ

formula containing all variables for partitioning

data

data.frame that includes variables used in rp_equ, e_equ, and design information

weights

formula or vector of sample weights for each observation

strata

formula or vector of strata labels

clusters

formula or vector of cluster labels

e_fn

string name of function to use for modeling (only "survLm" is operational)

l_fn

loss function (ignored)

bin_size

numeric minimum number of observations in each node

f_size

integer specifying the number of trees in the forest

cores

integer number of cores to use in parallel if > 1 (doesn't work with Windows operating systems)

Value

object of class "rpms"


rpms documentation built on June 26, 2021, 1:07 a.m.