log.bed {activpalProcessing} | R Documentation

## Example of a Bed Log

### 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

    data(log.bed)

### 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

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

[Package activpalProcessing version 1.0.2 Index]