NEWS
tidyfun 0.2.0 (2026-07-16)
- Package logo is now
man/figures/logo.png (animated PNG) instead of
logo.gif, so it is picked up by dynamic HTML help and tools::pkg2HTML()
refmans.
- Trajectory plots of
tf_mv objects (and all other tf_ggplot() layers) now
provide a column .arg with the argument value of each evaluation point, so
aes(colour = .arg) colours curve segments by their position along the
domain. autoplot()/autolayer() for tf_mv objects gain a
colour_by_arg argument for the same purpose.
- New
tf_phaseplane() for phase-plane plots (as in fda::phaseplanePlot()):
turns a univariate tf into a two-component tf_mv of derivatives
(velocity vs. acceleration by default) that can be plotted as a trajectory
with tf_ggplot() or autoplot().
ggplot2 support for multivariate functional data (tf_mv columns, see
tf::tfd_mv()): map them with aes(tf = ...) in tf_ggplot(), with
type = "facet" (value-vs-arg curves, one panel per output dimension) or
type = "trajectory" (planar curves x(t) vs y(t) for 2-component objects).
- New
autoplot.tf_mv() and autolayer.tf_mv() methods for quick plots and
layers of tf_mv objects.
- New
tf_unnest.tf_mv() method returning a "wide" long table with one value
column per output dimension: (id, arg, <component 1>, ..., <component d>).
- Behavior change: an explicitly mapped
x aesthetic is no longer silently
overwritten by tf_y's arg grid, so aes(tf_x = fx, tf_y = fy) now
correctly draws planar curves x(t) vs y(t).
- Univariate-only displays (
geom_spaghetti()/geom_meatballs(),
gglasagna(), geom_fboxplot()) now fail early with an informative error
for tf_mv inputs instead of dying with obscure internal errors.
tidyfun 0.1.2 (2026-04-24)
- Rebuilt
chf_df with current tf constructors before saving so the packaged
dataset no longer carries stale namespace references from pre-tf releases.
tidyfun 0.1.1 (2026-04-13)
- Initial CRAN submission.
- Functional data types (
tfd, tfb) as data frame columns via the tf package.
tidyverse-compatible data wrangling: tf_gather, tf_spread, tf_nest,
tf_unnest.
ggplot2 geoms for functional data: geom_spaghetti, geom_meatballs,
geom_capellini, geom_errorband, gglasagna.
tf_ggplot() for tf-aware ggplot construction with standard geoms.
- Functional boxplots via
geom_fboxplot.