Fftm: Wrapper function fftm

Description Usage Arguments Value See Also

Description

Wrapper function fftm

Fftm is used to fit Fast- and Frugal tree models, specified by giving a symbolic description of the predictors and the criterion.

Usage

1
2
3
4
5
6
Fftm(formula, ...)

## Default S3 method:
Fftm(formula, method, data, criterion = NULL,
  autoprune = TRUE, xvalidate.parts = 2, sdtfun = NULL, cuelist = NULL,
  ...)

Arguments

formula

an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of model specification are given under ‘Details’.

...

Additional parameter which should be passed to called method.

method

stringvector which specifies the method. bruteforcemaximize, maximize, montecarlo or chase

data

Dataframe containing the variables in the model.

criterion

cue; OPTIONAL: If criterion in data isn't binary, use a predefined criterion cue.

autoprune

logical: If set to true prune is called before returning the tree or all trees of the list. Default: TRUE

xvalidate.parts

integer, how many party of data should be generated (odd-even method) to crossvalidate the model

sdtfun

optional function with 4 parameters (hits, falsealarms, misses, correctrejections). Has to return a named vector. The returned value can be maximized.

cuelist

optional list with cues. The names of the cues have to match the columns provided in data.

Value

ANY; Depending on used method, return value can either be a list, or a fftree.

See Also

Fftm.default

bruteforcemaximize, maximize, chase, montecarlo


fftrees documentation built on May 2, 2019, 5:48 p.m.

Related to Fftm in fftrees...