Learn R Programming

ARPobservation (version 1.2.2)

event_counting: Applies event counting to a behavior stream

Description

Calculates the number of behaviors that begin during the observation session.

Usage

event_counting(BS)

Value

Vector of non-negative integers.

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)
event_counting(BS)

Run the code above in your browser using DataLab