Skip to contents

tf - (Sub)classes: Constructors & converters

Defining and converting functional data objects

tfd() as.tfd() as.tfd_irreg()
Constructors for vectors of "raw" functional data
tfb() tfb_wavelet() as.tfb()
Constructors for functional data in basis representation
as.data.frame(<tf>) as.matrix(<tf>) as.function(<tf>)
Convert functional data back to tabular data formats
tfb_spline()
Spline-based representation of functional data
tfb_fpc()
Functional data in FPC-basis representation
fpc_wsvd()
Eigenfunctions via weighted, regularized SVD
tf_rebase()
Change (basis) representation of a tf-object

Evaluating, indexing & re-arranging

Accessing, appending, evaluating, splitting & combining functional data objects

`[`(<tf>) `[<-`(<tf>)
Accessing, evaluating, subsetting and subassigning tf vectors
tf_approx_linear() tf_approx_spline() tf_approx_none() tf_approx_fill_extend() tf_approx_locf() tf_approx_nocb()
Inter- and extrapolation functions for tfd-objects
tf_evaluate()
Evaluate tf-vectors for given argument values
tf_interpolate()
Re-evaluate tf-objects on a new grid of argument values.
tf_split() tf_combine()
Split / Combine functional fragments

Arithmetic, logical and summary functions

Functionality for computing with and comparing functional data

`==`(<tfd>) `!=`(<tfd>) `==`(<tfb>) `!=`(<tfb>) vec_arith(<tfd>) vec_arith(<tfb>) Math(<tfd>) Math(<tfb>) Summary(<tf>) cummax(<tfd>) cummin(<tfd>) cumsum(<tfd>) cumprod(<tfd>) cummax(<tfb>) cummin(<tfb>) cumsum(<tfb>) cumprod(<tfb>)
Math, Summary and Ops Methods for tf
mean(<tf>) median(<tf>) sd() var() summary(<tf>)
Functions that summarize tf objects across argument values
tf_fwise() tf_fmax() tf_fmin() tf_fmedian() tf_frange() tf_fmean() tf_fvar() tf_fsd() tf_crosscov() tf_crosscor()
Summarize each tf in a vector (function-wise)
tf_depth()
Functional Data Depth
rank() xtfrm(<tf>) sort(<tf>)
Rank, order and sort tf vectors
min(<tf>) max(<tf>) range(<tf>)
Depth-based minimum, maximum and range for tf vectors
fivenum()
Tukey's Five Number Summary for tf vectors

Differentiation, integration and simple smoothing

tf_derive()
Differentiating functional data: approximating derivative functions
tf_integrate()
Integrals and anti-derivatives of functional data
tf_smooth()
Simple smoothing of tf objects

Registering and warping

Functions for registering, and warping functional data

tf_register()
Register / align a tf vector against a template function
tf_estimate_warps()
Estimate warping functions for registration
tf_aligned() tf_inv_warps() tf_template() print(<tf_registration>) summary(<tf_registration>) print(<summary.tf_registration>) plot(<tf_registration>) `[`(<tf_registration>) length(<tf_registration>)
Registration Result Object
tf_align()
Apply warping functions to align functional data
tf_landmarks_extrema() detect_landmarks() cluster_landmarks() build_landmark_matrix()
Find Extrema Locations in Functional Data
tf_warp()
Elastic Deformation: warp and align tf vectors
tf_invert()
Invert a tf vector

Visualization & Display

Graphics functions and print formats

plot(<tf>) lines(<tf>) points(<tf>)
base plots for tfs
print(<tf>) print(<tfd_reg>) print(<tfd_irreg>) print(<tfb>) format(<tf>)
Pretty printing and formatting for functional data
prep_plotting_arg()
Preprocess evaluation grid for plotting

Querying functional data

Locating functional features like peaks or zero-crossings

tf_where() tf_anywhere()
Find out where functional data fulfills certain conditions.
tf_zoom()
Functions to zoom in/out on functions

Utilities

Utility functions

Generating random functional data

RNGs for curves

tf_rgp()
Gaussian Process random generator
tf_jiggle() tf_sparsify()
Make a tf (more) irregular

Accessories

Tooling functions

Data

Real world functional data

gait
Hip and knee angle while walking data
growth
Berkeley growth study data
pinch
Pinch force data