Package: tf 0.3.4

Fabian Scheipl

tf: S3 Classes and Methods for Tidy Functional Data

Defines S3 vector data types for vectors of functional data (grid-based, spline-based or functional principal components-based) with all arithmetic and summary methods, derivation, integration and smoothing, plotting, data import and export, and data wrangling, such as re-evaluating, subsetting, sub-assigning, zooming into sub-domains, or extracting functional features like minima/maxima and their locations. The implementation allows including such vectors in data frames for joint analysis of functional and scalar variables.

Authors:Fabian Scheipl [aut, cre], Jeff Goldsmith [aut], Julia Wrobel [ctb], Maximilian Mücke [ctb], Sebastian Fischer [ctb], Trevor Hastie [ctb], Rahul Mazumder [ctb], Chen Meng [ctb]

tf_0.3.4.tar.gz
tf_0.3.4.zip(r-4.5)tf_0.3.4.zip(r-4.4)tf_0.3.4.zip(r-4.3)
tf_0.3.4.tgz(r-4.4-any)tf_0.3.4.tgz(r-4.3-any)
tf_0.3.4.tar.gz(r-4.5-noble)tf_0.3.4.tar.gz(r-4.4-noble)
tf_0.3.4.tgz(r-4.4-emscripten)tf_0.3.4.tgz(r-4.3-emscripten)
tf.pdf |tf.html
tf/json (API)
NEWS

# Install 'tf' in R:
install.packages('tf', repos = c('https://tidyfun.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidyfun/tf/issues

On CRAN:

68 exports 5 stars 2.39 score 16 dependencies 2 dependents 11 scripts 245 downloads

Last updated 18 days agofrom:f245b9ed32. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 29 2024
R-4.5-winOKAug 29 2024
R-4.5-linuxOKAug 29 2024
R-4.4-winOKAug 29 2024
R-4.4-macOKAug 29 2024
R-4.3-winOKAug 29 2024
R-4.3-macOKAug 29 2024

Exports:%inr%as.tfbas.tfdas.tfd_irregensure_listin_rangeis_irregis_regis_tfis_tfbis_tfb_fpcis_tfb_splineis_tfdis_tfd_irregis_tfd_regprep_plotting_argsdtf_anywheretf_approx_fill_extendtf_approx_lineartf_approx_locftf_approx_nocbtf_approx_nonetf_approx_splinetf_argtf_arg<-tf_basistf_counttf_crosscortf_crosscovtf_depthtf_derivetf_domaintf_domain<-tf_evaluatetf_evaluationstf_evaluatortf_evaluator<-tf_fmaxtf_fmeantf_fmediantf_fmintf_frangetf_fsdtf_fvartf_fwisetf_integratetf_interpolatetf_jiggletf_rebasetf_rgptf_smoothtf_sparsifytf_wheretf_zoomtfbtfb_fpctfb_splinetfdunique_idvarvec_cast.tfb_splinevec_cast.tfd_irregvec_cast.tfd_regvec_ptype2.tfb_fpcvec_ptype2.tfb_splinevec_ptype2.tfd_irregvec_ptype2.tfd_reg

Dependencies:backportscheckmatecligluelatticelifecyclemagrittrMatrixmgcvmvtnormnlmepracmapurrrrlangvctrszoo

Readme and manuals

Help Manual

Help pageTopics
Convert functional data back to tabular data formatsas.data.frame.tf as.function.tf as.matrix.tf
Turns any object into a listensure_list
Eigenfunctions via weighted, regularized SVDfpc_wsvd fpc_wsvd.data.frame fpc_wsvd.matrix
Summarize each 'tf' in a vectorfunctionwise tf_crosscor tf_crosscov tf_fmax tf_fmean tf_fmedian tf_fmin tf_frange tf_fsd tf_fvar tf_fwise
Find out if values are inside given bounds%inr% in_range
Math, Summary and Ops Methods for 'tf'!=.tfb !=.tfd ==.tfb ==.tfd cummax.tfb cummax.tfd cummin.tfb cummin.tfd cumprod.tfb cumprod.tfd cumsum.tfb cumsum.tfd Math.tfb Math.tfd Ops.tf Ops.tfb Ops.tfd Summary.tf
'base' plots for 'tf'slines.tf plot.tf points.tf
Preprocess evaluation grid for plottingprep_plotting_arg
Pretty printing and formatting for functional dataformat.tf print.tf print.tfb print.tfd_irreg print.tfd_reg
Inter- and extrapolation functions for 'tfd'-objectstf_approx_fill_extend tf_approx_linear tf_approx_locf tf_approx_nocb tf_approx_none tf_approx_spline
Utility functions for 'tf'-objectscoef.tfb is.na.tf is.na.tfd_irreg is_irreg is_reg is_tf is_tfb is_tfb_fpc is_tfb_spline is_tfd is_tfd_irreg is_tfd_reg rev.tf tf_arg tf_arg<- tf_arg<-.tfb tf_arg<-.tfd_irreg tf_arg<-.tfd_reg tf_basis tf_count tf_domain tf_domain<- tf_evaluations tf_evaluator tf_evaluator<-
Functional Data Depthtf_depth tf_depth.matrix tf_depth.tf
Differentiating functional data: approximating derivative functionstf_derive tf_derive.matrix tf_derive.tfb_fpc tf_derive.tfb_spline tf_derive.tfd
Evaluate 'tf'-vectors for given argument valuestf_evaluate tf_evaluate.default tf_evaluate.tfb tf_evaluate.tfd
Integrals and anti-derivatives of functional datatf_integrate tf_integrate.default tf_integrate.tfb tf_integrate.tfd
Re-evaluate 'tf'-objects on a new grid of argument values.tf_interpolate tf_interpolate.tfb tf_interpolate.tfd
Make a 'tf' (more) irregulartf_jiggle tf_sparsify
Change (basis) representation of a 'tf'-objecttf_rebase tf_rebase.tfb tf_rebase.tfd
Gaussian Process random generatortf_rgp
Simple smoothing of 'tf' objectstf_smooth tf_smooth.tfb tf_smooth.tfd
Find out where functional data fulfills certain conditions.tf_anywhere tf_where
Functions to zoom in/out on functionstf_zoom tf_zoom.tfb tf_zoom.tfb_fpc tf_zoom.tfd
Constructors for functional data in basis representationas.tfb tfb tfb_wavelet
Functional data in FPC-basis representationtfb_fpc tfb_fpc.data.frame tfb_fpc.default tfb_fpc.matrix tfb_fpc.numeric tfb_fpc.tf
Spline-based representation of functional datatfb_spline tfb_spline.data.frame tfb_spline.default tfb_spline.list tfb_spline.matrix tfb_spline.numeric tfb_spline.tfb tfb_spline.tfd
Accessing, evaluating, subsetting and subassigning 'tf' vectorstfbrackets [.tf [<-.tf
Constructors for vectors of "raw" functional dataas.tfd as.tfd_irreg tfd tfd.data.frame tfd.default tfd.list tfd.matrix tfd.numeric tfd.tf
Functions that summarize 'tf' objects across argument valuesmean.tf median.tf sd sd.default sd.tf summary.tf tfsummaries var var.default var.tf
Make syntactically valid unique namesunique_id
'vctrs' methods for 'tf' objectsvctrs vec_cast.tfb_fpc vec_cast.tfb_fpc.tfb_fpc vec_cast.tfb_fpc.tfb_spline vec_cast.tfb_fpc.tfd_irreg vec_cast.tfb_fpc.tfd_reg vec_cast.tfb_spline vec_cast.tfb_spline.tfb_fpc vec_cast.tfb_spline.tfb_spline vec_cast.tfb_spline.tfd_irreg vec_cast.tfb_spline.tfd_reg vec_cast.tfd_irreg vec_cast.tfd_irreg.tfb_fpc vec_cast.tfd_irreg.tfb_spline vec_cast.tfd_irreg.tfd_irreg vec_cast.tfd_irreg.tfd_reg vec_cast.tfd_reg vec_cast.tfd_reg.tfb_fpc vec_cast.tfd_reg.tfb_spline vec_cast.tfd_reg.tfd_irreg vec_cast.tfd_reg.tfd_reg vec_ptype2.tfb_fpc vec_ptype2.tfb_fpc.tfb_fpc vec_ptype2.tfb_fpc.tfb_spline vec_ptype2.tfb_fpc.tfd_irreg vec_ptype2.tfb_fpc.tfd_reg vec_ptype2.tfb_spline vec_ptype2.tfb_spline.tfb_fpc vec_ptype2.tfb_spline.tfb_spline vec_ptype2.tfb_spline.tfd_irreg vec_ptype2.tfb_spline.tfd_reg vec_ptype2.tfd_irreg vec_ptype2.tfd_irreg.tfb_fpc vec_ptype2.tfd_irreg.tfb_spline vec_ptype2.tfd_irreg.tfd_irreg vec_ptype2.tfd_irreg.tfd_reg vec_ptype2.tfd_reg vec_ptype2.tfd_reg.tfb_fpc vec_ptype2.tfd_reg.tfb_spline vec_ptype2.tfd_reg.tfd_irreg vec_ptype2.tfd_reg.tfd_reg