Learn R Programming

Observation (version 0.3.0)

manual_data_collection_program: Manually Collect Direct Observation Data

Description

Manually Collect Direct Observation Data

Usage

manual_data_collection_program(
  id,
  timestamps,
  activities,
  durations = NULL,
  seated = NA,
  large_muscles_moving = NA,
  slow = NA,
  slowed_by_resistance = NA,
  ambulation = NA,
  light_walking = NA
)

Value

A dataframe of pre-processed direct observation data generated from minimal input

Arguments

id

Character scalar giving ID to assign to the trial

timestamps

Vector of times (character or POSIX) corresponding to onset of each activity and (if durations = NULL) offset of the final activity (i.e., ending time of the trial)

activities

Character vector of activities in the sequence they were performed

durations

Optional numeric vector giving duration of each activity, in seconds

seated

Character vector giving yes/no/NA response for whether the participant was seated during each activity

large_muscles_moving

Character vector giving yes/no/NA response for whether the participant was moving large muscles during each activity

slow

Character vector giving yes/no/NA response for whether muscle contractions were slow during each activity

slowed_by_resistance

Character vector giving yes/no/NA response for whether slow muscle contractions were slowed because of resistance

ambulation

Character vector giving yes/no/NA response for whether the each activity is ambulatory

light_walking

Character vector giving yes/no/NA response for whether ambulation was slow enough to be considered light activity instead of moderate or vigorous

See Also

Other collection functions: data_collection_program(), interactive_data_collection_program()