Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/xpssComputeDates.R
R Implementation of the SPSS XDATE.WEEK
Function. computeXdate_wkday
is a helper function for xpssCompute.
1 |
x |
atomic object of class |
computeXdate_wkday caluclates the calendar week on basis of the given date string. Result is a number between 0 and 6. 0 stands for Sunday, 6 for Saturday.
Returns a character string with the day of week.
Bastian Wiessner
computeXdate_date
computeXdate_wkday
computeXdate_year
1 2 | xpssCompute(x="2015-02-15 20:11:20", fun="computeXdate_wkday")
xpssCompute(x="2022-10-20 21:22:12", fun="computeXdate_wkday")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.