Description Usage Arguments Value
Process and analyze the Actigraphy Data to csv file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | extractdata(
table_raw,
initalize,
identifier = FALSE,
rangetype = c("DAILY", "REST", "SLEEP", "ACTIVE"),
actiware_property = c("Actiwatch Type:", "Logging Mode:", "Time Zone:",
"Epoch Length:", "Number of Days:", "Actiwatch Serial Number:",
"Actiwatch Firmware Version:", "Activity Calibration Factor:",
"White Calibration Factor:", "Red Calibration Factor:", "Green Calibration Factor:",
"Blue Calibration Factor:"),
calcols_byday_chosen = c("Start Time", "End Time", "Duration", "Sleep Time", "WASO",
"Fragmentation", "Efficiency", "Onset Latency", "Avg White", "Avg Green", "Avg Red",
"Avg Blue"),
calcols_overall_chosen = c("Start Time", "End Time", "Duration", "Sleep Time",
"WASO", "Fragmentation", "Efficiency", "Onset Latency", "Avg White", "Avg Green",
"Avg Red", "Avg Blue"),
cols_chosen = c("Interval Type", "Interval#", "Start Time", "End Time", "Duration",
"Off-Wrist", "Total AC", "Onset Latency", "Efficiency", "WASO", "Sleep Time",
"Fragmentation")
)
|
table_raw |
Import Actigraphy Raw data |
initalize |
Import Initialize Raw data |
identifier |
If False(default), output identifier variables such as Name, Age etc. |
rangetype |
Decide which type of interval will be output. The default values are all four intervals: Active, DAILY, REST, SLEEP. |
actiware_property |
Output useful variables in Actiware Data Property section |
calcols_byday_chosen |
Calculate the mean value of columns by weekday and weekend |
calcols_overall_chosen |
Calculate the overall mean value of columns |
cols_chosen |
Select variables to output for each day. Please note variables Interval Type & Interval# are required in the list |
The final result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.