Uses a naive method for converting duration data to binary data. Use with caution. Ensure that all time periods are in the same units.
Arguments
- df
Original dataframe, ready for use with
bison_model
.- event_name
The variable name in the dataframe corresponding to event durations.
- divisor_name
The variable name in the dataframe corresponding to divisor durations (e.g. observation time).
- max_event_length
The maximum length of time a single social event could take place for.