| Timing exercise {epicalc} | R Documentation |
Dataset on time going to bed, waking up and arrival at a workshop
Description
This dataset came from an interview survey on the workshop attendants
on 2004-12-14.
Note that the date of bed time is 2004-12-13 if the respondent went
to bed before midnight.
Usage
data(Timing)
Format
A data frame with 18 observations on the following 11 variables.
id- a numeric vector
gender- a factor with levels
male female
age- a numeric vector
marital- a factor with levels
single married others
child- a numeric vector indicating number of children
bedhr- a numeric vector indicating the hour of going to bed
bedmin- a numeric vector indicating the minute of going to bed
wokhr- a numeric vector indicating the hour of waking up
wokmin- a numeric vector indicating the minute of waking up
arrhr- a numeric vector indicating the hour of arrival at the workshop
arrmin- a numeric vector indicating the minute of arrival at the workshop
Examples
data(Timing)
use(Timing)
des()
arrival.time <- ISOdatetime(year=2004, month=12, day=14, hour=arrhr,
min=arrmin, sec=0)
summ(arrival.time, by= gender)
[Package
epicalc version 2.7.2.3
Index]