View source: R/detectTypeBouts.R
| detectTypeBouts | R Documentation |
Detect bouts for each type produced by an external function.
Bout detection is done with g.getbout using the tbout.dur
and tbout.criter parameters that may be specified in myfun.
detectTypeBouts(myfun, varnum_type,
daysummary, ds_names,
di, fi, ws3, boutnameEnding)
myfun |
See GGIR |
varnum_type |
Vector (usually of class factor) containing the type metric as produced by the external function. |
daysummary |
Matrix with preliminary day summary. |
ds_names |
Daysummary column names |
di |
Row index of daysummary representing the recording day |
fi |
Column index of daysummary |
ws3 |
Numeric epochsize in seconds of the timeseries |
boutnameEnding |
Character with ending suffix to be pasted to the bout variable names, indicating the segment of the day over which the bouts have been calculated. |
A list containing the updated daysummary, ds_names, fi,
and di objects.
Vincent T van Hees <v.vanhees@accelting.com> Jairo H Migueles <jairo@jhmigueles.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.