REmrt_SSS: A function to fit the tree with look-ahead option

View source: R/REmrt_SSS.R

REmrt_SSSR Documentation

A function to fit the tree with look-ahead option

Description

A function to fit the tree with look-ahead option

Usage

REmrt_SSS(
  mf,
  maxL,
  minbucket,
  minsplit,
  cp,
  lookahead,
  alpha.endcut = 0.02,
  a = 50,
  multi.start = T,
  n.starts = 3
)

Arguments

mf

the data.frame to grow the tree

maxL

the maximum number of splits

minbucket

the minimum number of the studies in a terminal node

minsplit

the minimal number of studies in a parent node to be split

cp

the stopping rule for decrease of between-subgroups Q. Any split that does not decrease the between-subgroups Q is not attempted.

lookahead

an argument indicating whether to apply the "look-ahead" strategy when fitting the tree

alpha.endcut

parameter used in the splitting algorithm to avoid the endcut preference problem.

a

parameter used in the sss to determine the slope of the logistic function that replaces the indicator function.

multi.start

boolean indicating whether multiple starts must be used

n.starts

number of multiple starts

Value

a list including a tree, the split points, the data, and the nodes after each split


metacart documentation built on June 8, 2025, 12:46 p.m.