fftrees_cuerank takes an FFTrees object x and
optimizes its goal.threshold (from x$params) for all cues in data.
fftrees_cuerank(x = NULL, newdata = NULL, data = "train", rounding = NULL)A modified FFTrees object (with cue rank information for current data in x$cues$stats).
An FFTrees object.
dataframe.
dataframe.
integer.
fftrees_cuerank creates a data frame cuerank_df
that is added to x$cues$stats.
fftrees_cuerank is called (twice) by the fftrees_grow_fan algorithm
to grow fast-and-frugal trees (FFTs).