extract_Yr | R Documentation |
Create middle IQR string from numeric vector
extract_Yr(x, format = "%Y-%m-%d", numeric = T)
x |
character string |
format |
Date string format |
numeric |
Return Year as numeric |
Year as a character string
extract_Yr(Sys.Date())
extract_Yr("1989-03-12")
extract_Yr("031289", format = "%m%d%y")
extract_Yr("031289", format = "%m%d%y", numeric = F)
extract_Yr("12_1989_03", format = "%d_%Y_%m")
extract_Yr("12_1989_03", format = "%d_%Y_%m", numeric = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.