make_split: Make a tree split

Description Usage Arguments

View source: R/FunFor.R

Description

This function is a helper function used to make a new split in a FunFor tree

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
make_split(
  data,
  node,
  Xs,
  Ys,
  MVT,
  ancestor,
  depth,
  pred_list,
  npc,
  m_split,
  smooth
)

Arguments

data

All the data

node

Node to split

Xs

Names of X variables

Ys

Names of Y variables

MVT

A matrix

ancestor

Ancestor node

depth

Maximum depth

npc

Number of PCs

smooth

Whether to smooth curves


xiaotiand/FunFor documentation built on Dec. 23, 2021, 6:18 p.m.