edit_nodes
allows manipulating
one or more nodes
from an existing FFT definition
(in the tidy data frame format).
edit_nodes
allows to directly set and change the value(s) of
class
, cue
, direction
, threshold
, and exit
,
in an FFT definition for the specified nodes
.
There is only rudimentary verification for plausible entries.
Importantly, however, as edit_nodes
is ignorant of data
,
the values of its variables are not validated for a specific set of data.
Repeated changes of a node are possible
(by repeating the corresponding integer value in nodes
).
edit_nodes(
fft,
nodes = NA,
class = NA,
cue = NA,
direction = NA,
threshold = NA,
exit = NA,
quiet = FALSE
)
One FFT definition (as a data frame in tidy format, with one row per node).
The FFT nodes to be edited (as an integer vector).
Default: nodes = NA
.
The class values of nodes
(as character).
The cue names of nodes
(as character).
The direction values of nodes
(as character).
The threshold values of nodes
(as character).
The exit values of nodes
(as values from exit_types
).
Hide feedback messages (as logical)?
Default: quiet = FALSE
.
One FFT definition (as a data frame in tidy format, with one row per node).
add_nodes
for adding nodes to an FFT definition;
drop_nodes
for deleting nodes from an FFT definition;
flip_exits
for reversing exits in an FFT definition;
reorder_nodes
for reordering nodes of an FFT definition;
select_nodes
for selecting nodes in an FFT definition;
get_fft_df
for getting the FFT definitions of an FFTrees
object;
read_fft_df
for reading one FFT definition from tree definitions;
add_fft_df
for adding FFTs to tree definitions;
FFTrees
for creating FFTs from and applying them to data.
Other tree definition and manipulation functions:
add_fft_df()
,
add_nodes()
,
drop_nodes()
,
flip_exits()
,
get_fft_df()
,
read_fft_df()
,
reorder_nodes()
,
select_nodes()
,
write_fft_df()