tf - (Sub)classes: Constructors & converters

Defining, evaluating and converting functional data objects

as.tfd() as.tfd_irreg() as.data.frame(<tfd>) as.matrix(<tfd>) tfd()

Constructors & converters for "raw" functional data

as.tfb() as.data.frame(<tfb>) as.matrix(<tfb>) tfb() tfb_wavelet()

Constructors & convertors for functional data in basis representation

tfb_spline()

Spline-based representation of functional data

tfb_fpc()

Functional data in FPC-basis representation

fpc_wsvd()

Eigenfunctions via weighted SVD

Evaluation and indexing

Accessing, appending, evaluating and overwriting 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 tfs, both inside or outside a data.frame

Arithmetic, logical and summary functions

Functionality for computing with and comparing functional data

Ops(<tf>) `==`(<tfd>) `!=`(<tfd>) `==`(<tfb>) `!=`(<tfb>) Ops(<tfd>) Ops(<tfb>) Math(<tfd>) Math(<tfb>) cummax(<tfd>) cummin(<tfd>) cumsum(<tfd>) cumprod(<tfd>) cummax(<tfb>) cummin(<tfb>) cumsum(<tfb>) cumprod(<tfb>) Summary(<tf>)

Math, Summary and Ops Methods for tf

mean(<tf>) median(<tf>) quantile(<tf>) sd() var() summary(<tf>)

Functions that summarize tf objects

tf_depth()

Functional Data Depth

Differentiation & integration

tf_derive()

Differentiating functional data: approximating derivative functions

tf_integrate()

Integrals and Anti-Derivatives of Functional Data

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.

Visualization & Display

Graphics functions and print formats

funplot() plot(<tf>) lines(<tf>) points(<tf>)

Visualization functions for tfs

stat_tf() geom_spaghetti() geom_meatballs()

Spaghetti plots for tf objects

gglasagna()

Lasagna plots for tfs using ggplot2

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

type_sum(<tf>) obj_sum(<tf>) pillar_shaft(<tf>)

Format tidy functional data for tibbles

Utilities

Utility functions

tf_where() tf_anywhere() in_range() `%inr%`

Find out where functional data fulfills certain conditions.

tf_zoom()

Functions to zoom in/out on functions

tf_smooth()

Simple smoothing of tf objects

tf_arg() tf_evaluations() tf_count() tf_domain() tf_evaluator() tf_basis() `tf_evaluator<-`() `arg<-`() tf_resolution() coef(<tfb>) rev(<tf>) is.na(<tf>) is.na(<tfd_irreg>) is_tf() is_irreg() is_tfd() is_tfb()

Utility functions for tf-objects

tf_rgp()

Gaussian Process random generator

tf_jiggle() tf_sparsify()

Make a tf (more) irregular

Data Sets

Functional data sets

chf_df

Congestive heart failure accelerometry data

dti_df

Diffusion tensor imaging data