grow_rpms {rpms}R Documentation

grow_rpms

Description

grow an rpms tree from a given node

Usage

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.


[Package rpms version 0.5.1 Index]