| nparACT_base | R Documentation |
Computes the classic non-parametric actigraphy measures interdaily stability (IS), intradaily variability (IV), relative amplitude (RA), as well as the L5 and M10 values and their respective start times, for a single actigraphy file.
nparACT_base(name, SR, cutoff = 1, plot = T, fulldays = T)
name |
Character string giving the name of the object in the workspace that contains the actigraphy data. |
SR |
Numeric. Sampling rate in Hertz (samples per second). |
cutoff |
Numeric. Activity threshold used to classify movement. Defaults to 1. |
plot |
Logical. If |
fulldays |
Logical. If |
The function expects the actigraphy data to be available in the
workspace under the name provided via name. Data are internally
pre-processed, optionally restricted to complete 24-hour periods,
and analysed using standard non-parametric actigraphy algorithms.
The input data may contain either two columns (time, activity) or
three columns (date, time, activity). Time variables are internally
converted to POSIXct. Missing values in the activity signal
are not permitted.
The computation of IS and IV is based on hourly averaged activity data. Relative amplitude (RA) is derived from the difference between the most active 10-hour period (M10) and the least active 5-hour period (L5).
A data frame with one row and the following columns:
Interdaily stability
Intradaily variability
Relative amplitude
Mean activity during the least active 5-hour period
Start time of the L5 period
Mean activity during the most active 10-hour period
Start time of the M10 period
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.