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)A list containing the updated daysummary, ds_names, fi,
and di objects.
See GGIR
Vector (usually of class factor) containing the type metric as produced by the external function.
Matrix with preliminary day summary.
Daysummary column names
Row index of daysummary representing the recording day
Column index of daysummary
Numeric epochsize in seconds of the timeseries
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.
Vincent T van Hees <[email protected]> Jairo H Migueles <[email protected]>