Skip to contents

Transform a spec Object Into a Dataframe

Usage

# S3 method for spec
as.data.frame(x)

Arguments

x

A spec object

Value

A dataframe or tibble (if package tibble is installed)

See also

Other TidySpec: DF2Spec(), Spec2DF(), as.spec(), as_spec_df()

Author

Andrew Dolman <andrew.dolman@awi.de>

Examples

library(PaleoSpec)
ts1 <- ts(rnorm(100))
sp1 <- SpecMTM(ts1)
sp1_df <- as.data.frame(sp1)