chase: Chases a 'Sdt' value

Description Usage Arguments Details Value See Also Examples

Description

Takes all cues in fftree and builds a fftree from scratch, by appending the 'next best' or prepending the 'previous best' cue according to given parameters. You can chase multiple parameters by specifying an array of whatToMaximize and chaseHow like this: whatToMaximize = c("dPr","percCorrect","crit"), chaseHow=c("max","max","min")) and forward=c(TRUE,TRUE,FALSE)). Use Fftm instead of calling this method directly.

Usage

1
fftm.chase(tree, whatToMaximize, chaseHow = "max", forward = TRUE)

Arguments

tree

fftree

whatToMaximize

stringvector; Which parameters of the tree should be chased? The index of the vector represents the sequence. See Sdt for possible values.

chaseHow

stringvector; Every item has to be either max or min.

forward

OPTIONAL logicalvector: Should the next test be appended or prepended to the current tree? Default is forward = TRUE

Details

You can chase all values of Sdt and getCueEfficiency

Value

Fftree

See Also

Fftm, bruteforcemaximize, chase, montecarlo, getCueEfficiency, Sdt

Examples

1
2
3
rawdata <- fftm.Titanic.data()
tree <- Fftm(Survived ~ Age, "chase",rawdata, whatToMaximize = "percCorr", chaseHow = "max", forward=TRUE)
tree2 <- Fftm(Survived ~ Age, "chase",rawdata, whatToMaximize = c("percCorr","dPr"), chaseHow = c("max","min"), forward=c(TRUE,FALSE))

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

Related to chase in fftrees...