ctree.run: run a ctree model

Description Usage Arguments

View source: R/util-tree.R

Description

This function trains a partykit::ctree using data from a passed data.frame.

Usage

1
2
ctree.run(df, fmla = NULL, sub = NULL, ctl = NULL, responseVar,
  ignoreCols, ...)

Arguments

df

data.frame with response variable to be explained and all explanatory variables to be used in ctree classificaiton

fmla

formula, referring to values in the df, specifying the variables to be used to train the ctree model

ctl

partykit::ctree_control instance to specify ctree model parameters

responseVar

the name of the variable that the ctree is trying to explain

ignoreCols

an optional list of columns in df, but that should be excluded from the ctree modeling

...

additional arguments to be passed to partykit::ctree


ConvergenceDA/visdom documentation built on May 6, 2019, 12:51 p.m.