Skip to contents

Data example from the 2003-2004 National Health and Nutrition Examination Survey (NHANES) dataset. This example includes 184 individuals, giving 1,288 daily profiles. It only includes valid subjects with at least three complete days, obtained as a subset of acceldata_list using the function valid.subjects().

Usage

data(acceldata2_list)

Format

A list with 4 components:

PA

An integer matrix with 1,288 rows (daily profiles) and 1,440 columns (minute-by-minute accelerometer counts).

label

A data frame with 1,288 observations and 3 variables:

id

Integer identifier of the profile

day

Integer indicating the day label

personid2

Integer providing an alternative identifier of the individual

flag

A numeric matrix with the same dimensions as PA, containing quality indicators (e.g., 0 = valid, 1 = flagged).

demo

A data frame with 184 observations and 5 variables:

personid

Integer identifying the participant

age

Integer indicating age

sex

Factor with 2 levels indicating sex

bmi

Numeric variable with body mass index

race

Factor with 2 levels indicating race

Source

Data taken from the accelmissing package version 2.2.

Details

The dataset name has been kept as 'acceldata2_list' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the healthmotionR package and assists users in identifying its specific characteristics. The suffix 'list' indicates that the dataset is stored as a list containing multiple components. The original content has not been modified in any way.