Learn R Programming

translateSPSS2R (version 1.0.0)

computeTime_days: Calculates the number of passed hours on basis of the given days

Description

R Implementation of the SPSS TIME.DAYS Function. computeTime_days is a helper function for xpssCompute.

Usage

computeTime_days(x=NULL)

Arguments

x
atomic numeric or integer.

Value

Returns the number of passed hours as atomic numeric.

See Also

computeDate_qyr computeDate_wkyr

Examples

Run this code
xpssCompute(x=5, fun="computeTime_days")
xpssCompute(x=12, fun="computeTime_days")

Run the code above in your browser using DataLab