calc_anyevent: Calculate whether any event is happening

Description Usage Arguments Value

Description

Function to calculate whether any event is happening at a given time point. This is a cenvenience instead of constantly writing things like 'if (is | fog | ...)'

Usage

1
calc_anyevent(user, event_vars = c("fall", "ice", "fog", "block", "animal"))

Arguments

user

A user list object

event_vars

Names of boolean variables indicating whether an event is happening

Value

The user object with an any_event column in the events and streams tibbles.


drsimonj/adapter documentation built on May 15, 2019, 2:51 p.m.