includes.partial_time.partial_time {parttime} | R Documentation |
Test for whether a timestamp could be included within parttime uncertainty
Description
Test for whether a timestamp could be included within parttime uncertainty
Usage
## S3 method for class 'partial_time'
includes.partial_time(e1, e2)
Arguments
e1 |
object to test whether includes |
e2 |
object to test whether included in |
Value
A logical vector indicating whether partial_time
e1
includes
partial_time
e2
Examples
x_chr <- c("2019", "2019-03-01", "2019-03", "2018", "", "2018", "")
y_chr <- c("2019", "2019-03", "2019-03-01", "2016-05", "2018", "", "")
x <- as.parttime(x_chr)
y <- as.parttime(y_chr)
includes(x, y)
[Package parttime version 0.1.2 Index]