LMEtree: Create the tree as a list function

Description Usage Arguments

View source: R/LMEtree.R

Description

This function uses the outcome (here the treatment effect) and covariates for the matched pairs and are determined from the MatchForTree function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
LMEtree(
  Y,
  X,
  ctl.ind,
  indx,
  indx.TEST,
  X.TEST,
  pval.thresh = 0.05,
  min.leaf.size = 12,
  met.type = "bonferroni",
  min.split.size = 7,
  split.pts = 0.05,
  sample = "single"
)

Arguments

Y

response vector

X

covariate matrix

ctl.ind

treatment indicator

indx

index

indx.TEST

index in the test sample

X.TEST

covariates correseponding to the test sample

pval.thresh

p-value threshold

min.leaf.size

minimum leaf size

met.type

Default uses bonferroni correction. Other options include holm, hochberg, hommel, BH, BY, fdr and none. These are specified within the p.adjust function.

min.split.size

minimum size to allow splitting

split.pts

Split points

sample

"single" or "double"


AshwiniKV/TEHTree documentation built on Sept. 15, 2021, 11:21 p.m.