Learn R Programming

rpms (version 0.4.0)

rpms_forest: rpms_forest

Description

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

Usage

rpms_forest(rp_equ, data, weights = ~1, strata = ~1, clusters = ~1,
  e_equ = ~1, bin_size = NULL, perm_reps = 100, pval = 0.25,
  f_size = 200, 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_equ

formula for modeling data in each node

bin_size

numeric minimum number of observations in each node

perm_reps

integer specifying the number of permuations

pval

numeric p-value used to reject null hypothesis in permutation test

f_size

integer specifying the number of trees in the forest

cores

integer number of cores to use in parallel if > 1 (not implemented)

Value

object of class "rpms"