continuous_duration_recording {ARPobservation}R 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)

[Package ARPobservation version 1.2.2 Index]