tidyTs: create tidy data.frame from TS

View source: R/tidy2.R

tidyTsR Documentation

create tidy data.frame from TS

Description

takes a TS object and turns it into a long, tidy, data.frame. Useful for data manipulation and analysis in the tidyverse and plotting. The opposite operation as untidyTs()

Usage

tidyTs(TS, age.var = NA)

Arguments

TS

a LiPD Timeseries object

age.var

variable name for the time dimension

Value

a tidy data.frame

See Also

Other LiPD manipulation: pullTsVariable(), pushTsVariable(), tidyTsOld(), untidyTs()


nickmckay/lipdR documentation built on April 13, 2025, 5:58 p.m.