View source: R/limit2daterange.R
limit2daterange | R Documentation |
limit dataset to date range
limit2daterange(x, daterange, omitdatecol = FALSE)
x |
data.frame with a date column in it |
daterange |
character of length 2, e.g. |
omitdatecol |
should the actual date column be omitted from the output, by default no ( |
a subset of x
data(dataset3) limit2daterange(dataset3$dataseq, c("2000-01-01", "2000-01-14")) limit2daterange(dataset3$presence, c("2000-01-01", "2000-01-14")) limit2daterange(dataset3$presence, c("2000-01-01", "2000-01-14"), TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.