Learn R Programming

ARPobservation (version 1.2.2)

continuous_duration_recording: Applies continuous duration recording to a behavior stream

Description

Calculates the proportion of session time during which behavior occurs.

Usage

continuous_duration_recording(BS)

Value

Vector of proportions.

Arguments

BS

object of class behavior_stream

Examples

Run this code
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)

Run the code above in your browser using DataLab