sh_month | R Documentation |
Get/set the month component of Jalali date-time objects
sh_month(x)
## S3 method for class 'jdate'
sh_month(x)
## S3 method for class 'jdatetime'
sh_month(x)
sh_month(x) <- value
## S3 replacement method for class 'jdate'
sh_month(x) <- value
## S3 replacement method for class 'jdatetime'
sh_month(x) <- value
x |
A vector of |
value |
A numeric vector. |
For assignment, x
and value
are recycled to their common size using
tidyverse recycling rules.
The month component of x as an integer.
x <- jdate("1402-12-14")
sh_month(x)
sh_month(x) <- 10:11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.