Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/xpssComputeDates.R
R Implementation of the SPSS DATE.MOYR
Function. computeDate_moyr
is a helper function for xpssCompute.
1 | computeDate_moyr(month=NULL, year= NULL)
|
month |
atomic numeric or integer. |
year |
atomic numeric or integer. |
An character string as Date. Returns a date value corresponding to the indicated month, and year. The arguments must resolve to integers or numerics, with month between 1 and 12, and year a four-digit integer value.
Returns a character or character vector of the structure month-year.
Bastian Wiessner
computeDate_dmy
computeDate_mdy
1 2 | xpssCompute(x=5, fun="computeDate_moyr", year=2006)
xpssCompute(x=10, fun="computeDate_moyr",year=2010)
|
[1] "05-2006"
[1] "10-2010"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.