# Extended Nonparametric Actigraphy Measures for Single Actigraphy Files

### Description

Function returns IS, IV, RA, L5, M10 as well as L5 and M10 start times for single actigraphy files. Additionally, it also returns the L value (Lflex) and the start time for a specified number of minutes. The function also returns a classic dual day plot for the data, a plot of minutewise averages across 24 hours as well as a plot for hourly averages across 24 hours.

### Usage

1 | ```
nparACT_flex(name, SR, cutoff = 1, minutes, plot = T, fulldays = T)
``` |

### Arguments

`name` |
Character string containing the actigraphy file name. Actigraphy files must contain a first column with a date/time vector, which must be of form |

`SR` |
Sampling rate in Hz. |

`cutoff` |
Can be used to define a cutoff for actigraphy data. Default value is |

`minutes` |
Number of minutes for which the Lflex value should be computed. |

`plot` |
If |

`fulldays` |
If |

### Value

Data frame containing IS, IV and RA values. Besides this, L5, M10 and Lflex (for the number of minutes specified) values are given along with the respective start times.

### Author(s)

Christine Blume <christine.blume@sbg.ac.at> Nayantara Santhi <n.santhi@surrey.ac.uk> Manuel Schabus <manuel.schabus@sbg.ac.at>

### Examples

1 2 3 | ```
# example function nparACT
data(sleepstudy)
r <- nparACT_flex("sleepstudy", SR = 4/60, minutes = 435)
``` |