Skip to contents

tf - (Sub)classes: Constructors & converters

Defining, evaluating and converting functional data objects

tfd() as.tfd() as.tfd_irreg()
Constructors for vectors of "raw" functional data (from tf)
tfb() tfb_wavelet() as.tfb()
Constructors for functional data in basis representation (from tf)
tfb_spline()
Spline-based representation of functional data (from tf)
tfb_fpc()
Functional data in FPC-basis representation (from tf)
fpc_wsvd()
Eigenfunctions via weighted SVD (from tf)

Evaluation and indexing

Accessing, appending, evaluating and overwriting functional data objects

`[`(<tf>) `[<-`(<tf>)
Accessing, evaluating, subsetting and subassigning tf vectors (from tf)
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 (from tf)
tf_evaluate()
Evaluate tf-vectors for given argument values (from tf)
tf_interpolate()
Re-evaluate tf-objects on new evaluation grid. (from tf)

Arithmetic, logical and summary functions

Functionality for computing with and comparing functional data

Differentiation, integration and simple smoothing

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

Wrangling

Reshaping and transforming tf-objects inside data frames

tf_gather()
Gather all columns representing functional measurements into a tfd-object
tf_spread()
Spread a tf-column into many columns representing the function evaluations.
tf_nest()
Turn "long" tables into tidy data frames with tf-objects
tf_unnest()
Turn (data frames with) tf-objects / list columns into "long" tables.
tf_evaluate(<data.frame>)
Evaluate tfs inside a data.frame

Visualization & Display

Graphics functions and print formats

plot(<tf>) lines(<tf>) points(<tf>)
base plots for tfs (from tf)
stat_tf() geom_spaghetti() geom_meatballs()
Spaghetti plots for tf objects
gglasagna()
Lasagna plots for tfs using ggplot2
stat_errorband() geom_errorband()
Error bands using tf objects as bounds
stat_capellini() geom_capellini()
Glyph plots for tf objects
print(<tf>) print(<tfd_reg>) print(<tfd_irreg>) print(<tfb>) format(<tf>)
Pretty printing and formatting for functional data (from tf)
type_sum(<tf>) obj_sum(<tf>) pillar_shaft(<tf>)
Format tidy functional data for tibbles

Querying functional data

Locating functional features like peaks or zero-crossings

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

Utilities

Utility functions

Generating random functional data

RNGs for curves

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

Data Sets

Functional data sets

chf_df
Congestive heart failure accelerometry data
dti_df
Diffusion tensor imaging data
tidyfun tidyfun-package
tidyfun: Tools for Tidy Functional Data