Description Usage Arguments Details Value Examples

View source: R/observation_method_filters.R

Divides the observation session into intervals. Each interval is scored using partial interval recording, whole interval recording, and momentary time sampling (at the beginning of the following interval).

1 | ```
augmented_recording(BS, interval_length, rest_length = 0)
``` |

`BS` |
object of class behavior_stream |

`interval_length` |
time length of each interval. |

`rest_length` |
portion of each interval to exclude from observation. Default is zero. See details. |

Each behavior stream is divided into intervals of length `interval_length`

.
The last `rest_length`

of each interval is excluded from observation.
For example, for a stream length of 100, `interval_length = 20`

, and
`rest_length = 5`

, the first interval runs from [0,15), the second interval runs from [20,35), etc.

A matrix with rows equal to the number of intervals per session and
columns equal to the number of behavior streams in `BS`

.

1 2 3 | ```
BS <- r_behavior_stream(n = 5, mu = 3, lambda = 10,
F_event = F_exp(), F_interim = F_exp(), stream_length = 100)
augmented_recording(BS, interval_length = 20)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.