Last chance! 50% off unlimited learning
Sale ends in
Calculate the sign of zodiac of a date.
Zodiac(x, lang = c("engl", "deu"), stringsAsFactors = TRUE)
the date to be transformed.
the language of the zodiac names, can be english (default) or german ("deu"
).
logical. If set to TRUE
(default) the result will consist of a factor with zodiac signs as levels.
character vector or factor with the zodiac.
The really relevant things can sometimes hardly be found. You just discovered such a function... ;-)
Year
and other date functions
# NOT RUN {
Zodiac(as.Date(c("1937-07-28", "1936-06-01", "1966-02-25",
"1964-11-17", "1972-04-25")), lang="deu")
d <- sample(seq(as.Date("2015-01-01"), as.Date("2015-12-31"), 1), 120)
z <- Zodiac(d)
Desc(z)
# }
Run the code above in your browser using DataLab