DF2Spec | R Documentation |
Transform a spec_df Object into a spec Object or List of spec Objects
DF2Spec(spec_df)
spec_df |
A spec_df object |
A spec object or a list of spec objects
Andrew Dolman <andrew.dolman@awi.de>
Other TidySpec:
Spec2DF()
,
as.data.frame.spec()
,
as.spec()
,
as_spec_df()
library(PaleoSpec)
ts1 <- ts(SimPLS(1000, beta = 1))
sp1 <- SpecMTM(ts1)
ts2 <- ts(rnorm(1000))
sp2 <- SpecMTM(ts2)
sp_lst <- list(sp1 = sp1, sp2 = sp2)
sp_df <- Spec2DF(sp_lst)
sp_df
str(DF2Spec(sp_df))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.