Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/xpssComputeDates.R
R Implementation of the SPSS CTIME.MINUTES
Function.computeCtime_minutes
is a helper function for xpssCompute.
1 |
x |
atomic object of class |
date |
atomic object of class |
The input format of date's with timeparameter's is YYYY-MM-DD HH:MM:SS. All parameters are necessary to calculate the minute difference!
Returns the difference between x and date in minutes.
Bastian Wiessner
difftime
DateTimeClasses
as.POSIXlt
strptime
1 2 | xpssCompute(x="2013-09-14 12:12:12", fun="computeCtime_minutes", date="2013-09-14 10:10:10")
xpssCompute(x="2013-09-14 12:12:12", fun="computeCtime_minutes", date="2013-09-06 22:10:10")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.