computeTime_hms: Creates a date with the format Hour-Minute-Second

Description Usage Arguments Value Author(s) See Also Examples

View source: R/xpssComputeDates.R

Description

R Implementation of the SPSS TIME.HMS Function. computeTime_hms is a helper function for xpssCompute.

Usage

1
computeTime_hms(hour=NULL,minute=NULL,second=NULL)

Arguments

hour

atomic numeric or integer.

minute

atomic numeric or integer.

second

atomic numeric or integer.

Value

Returns a character string as Timedate.

Author(s)

Bastian Wiessner

See Also

computeDate_qyr computeDate_wkyr

Examples

1
2
xpssCompute(x=4, fun="computeTime_hms", minute= 10, second=23)
xpssCompute(x=14, fun="computeTime_hms", minute= 34, second=1)

translateSPSS2R documentation built on May 30, 2017, 4:31 a.m.