is_weekend | R Documentation |
Return TRUE if the date vector is a weekend (saturday/sunday).
is_weekend(x)
x |
A date vector |
A boolean vector with the return from the condition check.
is_weekend(x = Sys.time())
is_weekend(x = Sys.Date())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.