Learn R Programming

GGIR (version 2.6-0)

identify_levels: Identifies levels of behaviour for g.part5 function.

Description

Identifies levels of behaviour from acceleratioon and sustained inactivity sibdetection (using angles). Function not intended for direct use by package user.

Usage

identify_levels(ts, TRLi,TRMi,TRVi,
                  ws3, params_phyact, ...)

Arguments

ts

Data.frame with time series genrated in .gpart5

TRLi

Numeric acceleration threshold light

TRMi

Numeric acceleration threshold moderate

TRVi

Numeric acceleration threshold vigorous

ws3

Numeric size of epoch in seconds

params_phyact
...

Any argument used in the previous version of identify_level, which will now be used to overrule the arguments specified with the parameter objects.

Value

List with items: itemLEVELS itemOLEVELS itemLnames itembc.mvpa itembc.lig itembc.in itemts

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    levels = identify_levels(TRLi,TRMi,TRVi,
                               boutdur.mvpa,boutcriter.mvpa,
                               boutdur.lig,boutcriter.lig,
                               boutdur.in,boutcriter.in,
                               ws3,bout.metric)
  
# }

Run the code above in your browser using DataLab