Description Usage Arguments See Also Examples
Check that a scalar or vector is dates or can be coerced to dates
1 2 3 4 5 6 7 |
x |
A scalar or a vector. |
name |
The name for |
chk_is_date
for a stricter test,
and err_tdy_date_scalar
and
err_tdy_date_vector
to coerce
where necessary.
1 2 3 4 | x <- as.Date("2001-12-31")
chk_is_date_equiv_scalar(x, name = "x")
x <- as.Date(c("2001-12-31", "2002-01-01"))
chk_is_date_equiv_vector(x, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.