The before function is used to return the set of events or measurements that verify a certain condition observed before an event / measurement.

before(model, condition)

Arguments

model

An AnalysR model

condition

A condition