log.bed: Example of a Bed Log

Description Usage Format Details Examples

Description

This data frame is an example of a bed log. Bed logs need to be in this format to work with this package. If no bed log is provided all wear time will be included in analysis

Usage

1

Format

A data frame with 32 observations on the following 15 variables.

id

a numeric vector

visit

a factor with levels visit 2 visit1 visit2

study

a factor with levels PhysicalActivityIntervention

date.out.month

a numeric vector

date.out.day

a numeric vector

date.out.year

a numeric vector

time.out.hour

a numeric vector

time.out.minute

a numeric vector

time.out.seconds

a numeric vector

date.in.month

a numeric vector

date.in.day

a numeric vector

date.in.year

a numeric vector

time.in.hour

a numeric vector

time.in.minute

a numeric vector

time.in.seconds

a numeric vector

Details

Example bed log. Data are made up for 2 subjects each (id=7 & 8) and 2 visits (visit= 1 & 2)

Examples

1
2
#	load example bed log 
data("log.bed",package="activpalProcessing")

activpalProcessing documentation built on May 2, 2019, 2:17 a.m.