Xvalid_all: A function to compute cross-validation errors

View source: R/re_cross_valid_Support.R

Xvalid_allR Documentation

A function to compute cross-validation errors

Description

A function to compute cross-validation errors

Usage

Xvalid_all(
  mf,
  maxL,
  n.fold,
  minbucket,
  minsplit,
  cp,
  lookahead,
  sss,
  alpha.endcut,
  a,
  multi.start,
  n.starts
)

Arguments

mf

the data set with formula specified

maxL

the maximum number of splits

n.fold

the number of folds

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


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