Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/xpssComputeDates.R
R Implementation of the SPSS XDATE.MDAY
Function. computeXdate_mday
is a helper function for xpssCompute.
1 |
x |
atomic object of class |
computeXdate_mday extract the day component out of the date string, the other date and time componentes will be omitted.
Returns a character string with the date's day.
Bastian Wiessner
computeXdate_date
computeDate_wkyr
1 2 | xpssCompute(x="2015-02-15 20:22:20", fun="computeXdate_mday")
xpssCompute(x="2022-10-20 21:22:12", fun="computeXdate_mday")
|
[1] "15"
[1] "20"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.