grow_rpms: grow_rpms

Description Usage Arguments Value

View source: R/sfun_rpm_20_04_04.R

Description

grow an rpms tree from a given node

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
grow_rpms(
  x,
  node,
  data,
  weights = ~1,
  strata = ~1,
  clusters = ~1,
  pval = NA,
  bin_size = NA
)

Arguments

x

rpms object

node

node from which to grow tree further

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

pval

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

bin_size

numeric minimum number of observations in each node

Value

rpms tree expanded from node.


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