write_fft_df: Write an FFT definition to tree definitions

View source: R/util_gfft.R

write_fft_dfR Documentation

Write an FFT definition to tree definitions

Description

write_fft_df writes the definition of a single FFT (as a tidy data frame) into the one-line FFT definition used by an FFTrees object.

write_fft_df allows turning individual tree definitions into the one-line FFT definition format used by an FFTrees object.

read_fft_df provides the inverse functionality.

Usage

write_fft_df(fft, tree = -99L)

Arguments

fft

One FFT definition (as a data frame in tidy format, with one row per node).

tree

The ID of the to-be-written FFT (as an integer). Default: tree = -99L.

Value

An FFT definition in the one line FFT definition format used by an FFTrees object (as a data frame).

See Also

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(), edit_nodes(), flip_exits(), get_fft_df(), read_fft_df(), reorder_nodes(), select_nodes()


FFTrees documentation built on June 7, 2023, 5:56 p.m.