continuous_duration_recording: Applies continuous duration recording to a behavior stream

View source: R/observation_method_filters.R

continuous_duration_recordingR Documentation

Applies continuous duration recording to a behavior stream

Description

Calculates the proportion of session time during which behavior occurs.

Usage

continuous_duration_recording(BS)

Arguments

BS

object of class behavior_stream

Value

Vector of proportions.

Examples

BS <- r_behavior_stream(n = 5, mu = 3, lambda = 10, 
                       F_event = F_exp(), F_interim = F_exp(), stream_length = 100)
continuous_duration_recording(BS)

ARPobservation documentation built on Aug. 25, 2023, 5:19 p.m.