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