Description Usage Arguments Details Value Examples
View source: R/Standard_summary.R
Summarize standard activity measures
1 | Standard(final_dat, bed_time, takeoff_time)
|
final_dat |
Raw event file, will be cleaned in this function. Event file is required for this function. |
bed_time |
Sleep and wake up time log, reported by participants. Log is not required for this function. |
takeoff_time |
Take on and off time log, reported by participants. Log is not required for this function. |
All numbers are calculated in the given time period (day, hour, etc.). Total sedentary/standing/stepping hours are obtained from the summation of the duration times for sedentary/standing/stepping activities in the given time period.
Year
The calendar year of recorded event
Month
The calendar month of recorded event
Day
The calendar day of recorded event
Dayofweek
The day of that week
Weekday_or_weekend
The recored event date is a weekday or weekend (0 for weekday, 1 for weekend)
hours_worn_total
Total worn hours
sed_hour
Total sedantary hours
stand_hour
Total stand hours
step_hour
Total step hours
step_count_total
Total Step count
num_hour_over_3_METs
Number of hours that Metabolic Equivalent of Task (MET) is over 3
MET_hours
Total METs
perc_sedentary
Proportion of sedentary
perc_stand
Proportion of standing
perc_step
Proportion of stepping
1 2 3 | #For CRAN less than 5s running time policy, we only select the first day to run.
r1=Standard(sample_event[1:3095,],sample_bed_time[1,],sample_takeon_log[1,])
summary(r1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.