fftrees_define {FFTrees} | R Documentation |
Create FFT definitions
Description
fftrees_define
defines fast-and-frugal trees (FFTs)
either from the definitions provided or by applying algorithms (when no definitions are provided),
and returns a modified FFTrees
object that contains those definitions.
In most use cases, fftrees_define
passes a new FFTrees
object x
either
to fftrees_grow_fan
(to create new FFTs by applying algorithms to data) or
to fftrees_wordstofftrees
(if my.tree
is specified).
If an existing FFTrees
object object
or tree.definitions
are provided as inputs,
no new FFTs are created.
When both arguments are provided, tree.definitions
take priority over the FFTs in an existing object
.
Specifically,
If
tree.definitions
are provided, these are assigned to the FFTs ofx
.If no
tree.definitions
are provided, but an existingFFTrees
objectobject
is provided, the trees fromobject
are assigned to the FFTs ofx
.
Usage
fftrees_define(x, object = NULL, tree.definitions = NULL)
Arguments
x |
The current |
object |
An existing |
tree.definitions |
A |
Value
An FFTrees
object with tree definitions.
See Also
fftrees_create
for creating FFTrees
objects;
fftrees_grow_fan
for creating FFTs by applying algorithms to data;
fftrees_wordstofftrees
for creating FFTs from verbal descriptions;
FFTrees
for creating FFTs from and applying them to data.