View source: R/lipdManipulation.R
pushTsVariable | R Documentation |
pulls all instances of a single variable out of a TS
pushTsVariable(TS, variable, vec, createNew = FALSE)
TS |
a LiPD Timeseries object |
variable |
the name of variable in a TS object |
vec |
a vector of data to be added to the TS object |
createNew |
allow the function to create a new variable in the TS? |
a vector of the values, with NA representing instances without this variable.
Other LiPD manipulation:
pullTsVariable()
,
tidyTs()
,
tidyTsOld()
,
untidyTs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.