Package: tf 0.5.0.9000
tf: S3 Classes and Methods for Tidy Functional Data
Provides S3 vector types for functional data represented on grids, in spline bases, or via functional principal components. Supports arithmetic and summary methods, plotting, derivation, integration, smoothing, registration, and data import/export for these functional vectors. Includes data-wrangling tools for re-evaluation, subsetting, sub-assignment, zooming into sub-domains, and extracting functional features such as minima, maxima, and their locations. Enables joint analysis of functional and scalar variables by integrating functional vectors into standard data frames.
Authors:
tf_0.5.0.9000.tar.gz
tf_0.5.0.9000.zip(r-4.7)tf_0.5.0.9000.zip(r-4.6)tf_0.5.0.9000.zip(r-4.5)
tf_0.5.0.9000.tgz(r-4.6-any)tf_0.5.0.9000.tgz(r-4.5-any)
tf_0.5.0.9000.tar.gz(r-4.7-any)tf_0.5.0.9000.tar.gz(r-4.6-any)
tf_0.5.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tf/json (API)
| # Install 'tf' in R: |
| install.packages('tf', repos = c('https://tidyfun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tidyfun/tf/issues
Pkgdown/docs site:https://tidyfun.github.io
Last updated from:099baf9eac. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 252 | ||
| source / vignettes | OK | 260 | ||
| linux-release-x86_64 | OK | 253 | ||
| macos-release-arm64 | OK | 237 | ||
| macos-oldrel-arm64 | OK | 140 | ||
| windows-devel | OK | 204 | ||
| windows-release | OK | 210 | ||
| windows-oldrel | OK | 190 | ||
| wasm-release | OK | 135 |
Exports:%inr%as.tfbas.tfb_mvas.tfdas.tfd_irregas.tfd_mvensure_listfivenumfpc_wsvdin_rangeis_irregis_regis_tfis_tf_1dis_tf_mvis_tfbis_tfb_fpcis_tfb_mfpcis_tfb_mvis_tfb_splineis_tfdis_tfd_irregis_tfd_mvis_tfd_regprep_plotting_argranksavgolsdtf_aligntf_alignedtf_anywheretf_approx_fill_extendtf_approx_lineartf_approx_locftf_approx_nocbtf_approx_nonetf_approx_splinetf_arclengthtf_argtf_arg<-tf_basistf_combinetf_componenttf_component<-tf_componentstf_counttf_crosscortf_crosscovtf_depthtf_derivetf_distancetf_domaintf_domain<-tf_estimate_warpstf_evaluatetf_evaluationstf_evaluatortf_evaluator<-tf_fmaxtf_fmeantf_fmediantf_fmintf_frangetf_fsdtf_fvartf_fwisetf_innertf_integratetf_interpolatetf_inv_warpstf_inverttf_jiggletf_landmarks_extrematf_mfpc_efunctionstf_mfpc_scorestf_ncomptf_normtf_ordertf_rebasetf_registertf_register_shapetf_reparam_arclengthtf_rgptf_rotationstf_scalestf_smoothtf_sparsifytf_speedtf_splittf_tangenttf_templatetf_warptf_wheretf_zoomtfbtfb_fpctfb_mfpctfb_mvtfb_splinetfdtfd_mvunique_idvar
Dependencies:backportscheckmatecligluelatticelifecyclemagrittrMatrixmgcvnlmepurrrrlangvctrszoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Accessing, evaluating, subsetting and subassigning 'tf' vectors | tfbrackets [.tf [.tf_mv [<-.tf [<-.tf_mv |
| Convert functional data back to tabular data formats | as.data.frame.tf as.function.tf as.matrix.tf |
| Coerce a 'tf_mv' to a matrix or data.frame | as.data.frame.tf_mv as.matrix.tf_mv converters-mv |
| Wrap a non-list object in a list | ensure_list |
| Tukey's Five Number Summary for 'tf' vectors | fivenum fivenum.default fivenum.tf fivenum.tf_mv |
| Eigenfunctions via weighted, regularized SVD | fpc_wsvd fpc_wsvd.data.frame fpc_wsvd.matrix |
| Summarize each 'tf' in a vector (function-wise) | functionwise tf_crosscor tf_crosscov tf_fmax tf_fmax.tf_mv tf_fmean tf_fmean.tf_mv tf_fmedian tf_fmedian.tf_mv tf_fmin tf_fmin.tf_mv tf_frange tf_fsd tf_fsd.tf_mv tf_fvar tf_fvar.tf_mv tf_fwise |
| Hip and knee angle while walking data | gait |
| Berkeley growth study data | growth |
| Find out if values are inside given bounds | %inr% in_range |
| Joint depth-median for vector-valued functional data | median.tf_mv |
| Pinch force data | pinch |
| 'base' plots for 'tf's | lines.tf plot.tf points.tf |
| Plot vector-valued functional data | lines.tf_mv plot.tf_mv points.tf_mv |
| Preprocess evaluation grid for plotting | prep_plotting_arg |
| Pretty printing and formatting for functional data | format.tf print.tf print.tfb print.tfd_irreg print.tfd_reg |
| Apply warping functions to align functional data | tf_align tf_align.tfb tf_align.tfd |
| Inter- and extrapolation functions for 'tfd'-objects | tf_approx_fill_extend tf_approx_linear tf_approx_locf tf_approx_nocb tf_approx_none tf_approx_spline |
| Arc length of vector-valued functional data | tf_arclength tf_arclength.default tf_arclength.tf_mv |
| Utility functions for 'tf'-objects | coef.tfb is.na.tf is.na.tfd_irreg is_irreg is_reg is_tf is_tfb is_tfb_fpc is_tfb_mv is_tfb_spline is_tfd is_tfd_irreg is_tfd_mv is_tfd_reg is_tf_1d is_tf_mv rev.tf rev.tf_mv 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 Depth | tf_depth tf_depth.matrix tf_depth.tf tf_depth.tf_mv |
| Differentiating functional data: approximating derivative functions | tf_derive tf_derive.matrix tf_derive.tfb_fpc tf_derive.tfb_spline tf_derive.tfd tf_derive.tfd_irreg |
| Estimate warping functions for registration | tf_estimate_warps |
| Evaluate 'tf'-vectors for given argument values | tf_evaluate tf_evaluate.default tf_evaluate.tfb tf_evaluate.tfd |
| Pointwise norm and inner product for functional data | tf_distance tf_geom tf_inner tf_inner.default tf_inner.tf tf_inner.tf_mv tf_norm tf_norm.default tf_norm.tf tf_norm.tf_mv tf_reparam_arclength tf_speed tf_tangent tf_tangent.default tf_tangent.tf tf_tangent.tf_mv |
| Integrals and anti-derivatives of functional data | tf_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 tf_interpolate.tf_mv |
| Invert a 'tf' vector | tf_invert |
| Make a 'tf' (more) irregular | tf_jiggle tf_jiggle.tf_mv tf_sparsify tf_sparsify.tf_mv |
| Find Extrema Locations in Functional Data | tf_landmarks_extrema |
| Depth-based minimum, maximum and range for 'tf' vectors | max.tf min.tf range.tf tf_minmax |
| Accessors and methods for vector-valued functional data | tf_component tf_component<- tf_components tf_mv_methods tf_ncomp |
| Rank, order and sort 'tf' vectors | rank rank.default rank.tf sort.tf tf_order tf_order.default tf_order.tf tf_order.tf_mv xtfrm.tf |
| Change (basis) representation of a 'tf'-object | tf_rebase tf_rebase.tfb tf_rebase.tfd |
| Register / align a 'tf' vector against a template function | tf_register |
| Register vector-valued curves in elastic shape space | tf_register_shape |
| Registration Result Object | length.tf_registration plot.tf_registration print.summary.tf_registration print.summary.tf_shape_registration print.tf_registration print.tf_shape_registration summary.tf_registration summary.tf_shape_registration tf_aligned tf_inv_warps tf_registration tf_rotations tf_scales tf_template [.tf_registration [.tf_shape_registration |
| Gaussian Process random generator | tf_rgp |
| Simple smoothing of 'tf' objects | tf_smooth tf_smooth.tfb tf_smooth.tfd |
| Split / Combine functional fragments | tf_combine tf_split tf_splitcombine |
| Elastic Deformation: warp and align 'tf' vectors | tf_warp tf_warp.tfb tf_warp.tfd |
| Find out where functional data fulfills certain conditions. | tf_anywhere tf_where |
| Functions to zoom in/out on functions | tf_zoom tf_zoom.tfb tf_zoom.tfb_fpc tf_zoom.tfd |
| Constructors for functional data in basis representation | as.tfb tfb tfb_wavelet |
| Functional data in FPC-basis representation | tfb_fpc tfb_fpc.data.frame tfb_fpc.default tfb_fpc.matrix tfb_fpc.numeric tfb_fpc.tf |
| Multivariate functional principal component analysis ('f: R -> R^d') | is_tfb_mfpc tfb_mfpc tfb_mfpc.default tfb_mfpc.list tfb_mfpc.tf_mv tf_mfpc_efunctions tf_mfpc_scores |
| Vector-valued functional data in basis representation ('f: R -> R^d') | as.tfb_mv as.tfb_mv.default tfb_mv tfb_mv.default tfb_mv.list tfb_mv.tf_mv |
| Spline-based representation of functional data | tfb_spline tfb_spline.data.frame tfb_spline.default tfb_spline.fd tfb_spline.fdSmooth tfb_spline.list tfb_spline.matrix tfb_spline.numeric tfb_spline.tfb tfb_spline.tfd |
| Constructors for vectors of "raw" functional data | as.tfd as.tfd_irreg tfd tfd.data.frame tfd.default tfd.list tfd.matrix tfd.numeric tfd.tf |
| Constructors for vector-valued functional data ('f: R -> R^d') | as.tfd_mv as.tfd_mv.default as.tfd_mv.tf_mv tfd_mv tfd_mv.array tfd_mv.data.frame tfd_mv.default tfd_mv.list tfd_mv.tf_mv |
| 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 Summary.tf tfgroupgenerics vec_arith.tfb vec_arith.tfd |
| Functions that summarize 'tf' objects across argument values | mean.tf median.tf sd sd.default sd.tf summary.tf summary.tf_mv tfsummaries var var.default var.tf |
| Make syntactically valid unique names | unique_id |
| 'vctrs' methods for 'tf' objects | vctrs 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_mv.tfb_mv vec_cast.tfb_mv.tfd_mv 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.tfb_fpc vec_cast.tfd_irreg.tfb_spline vec_cast.tfd_irreg.tfd_irreg vec_cast.tfd_irreg.tfd_reg vec_cast.tfd_mv.tfb_mv vec_cast.tfd_mv.tfd_mv 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.tfb_fpc vec_ptype2.tfb_fpc.tfb_spline vec_ptype2.tfb_fpc.tfd_irreg vec_ptype2.tfb_fpc.tfd_reg vec_ptype2.tfb_mv.tfb_mv vec_ptype2.tfb_mv.tfd_mv 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.tfb_fpc vec_ptype2.tfd_irreg.tfb_spline vec_ptype2.tfd_irreg.tfd_irreg vec_ptype2.tfd_irreg.tfd_reg vec_ptype2.tfd_mv.tfb_mv vec_ptype2.tfd_mv.tfd_mv vec_ptype2.tfd_reg.tfb_fpc vec_ptype2.tfd_reg.tfb_spline vec_ptype2.tfd_reg.tfd_irreg vec_ptype2.tfd_reg.tfd_reg |
