View source: R/class_partial_time_uncert_resolvers.R
possibly.partial_time_logical | R Documentation |
Determine whether a partial_time logical matrix is possibly TRUE
## S3 method for class 'partial_time_logical'
possibly(x, by = ncol(attr(x, "pttm_lgl")), ...)
x |
a partial_time_logical matrix for coersion |
by |
the resolution of assessment, a column or index |
... |
additional arguments unused |
A logical vector indicating whether the partial time comparison is
possibly or definitely true provided any uncertainty represented in the
partial_time
inputs.
x <- as.parttime(c("", "2019-02", "2019-01-02"))
y <- as.parttime(c("2018", "2019-02-01", "2018"))
possibly(x != y)
possibly(x != y, by = "month")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.