filterTs | R Documentation |
Find all the time series objects that match a given search expression, and return a new time series with the matching objects Valid operators : ==, =, <=, >=, <, >
filterTs(ts, expression, exact = FALSE)
ts |
Time series list , Time series data |
expression |
Search expression char (single query) or list (multiple query) |
exact |
Key match char. Is the provided key an exact key match or a piece of the key? ie. paleoData_variableName or variableName? |
new.ts : Time series : list
Chris Heiser
## Not run:
# Time series
ts = [ object1, object2, object3, object4 ]
# Example 1
new.ts = filterTs(ts, "archiveType == marine sediment")
# result
[object1, object3, object4]
# Example 2
new.ts = filterTs(ts, ["paleoData_variableName == d18O", "archiveType == marine sediment"])
# result
[object2]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.