episodes: Create an episodes file from a Chronicle and a Personal data...

Description Usage Arguments Value

View source: R/episodes.R

Description

Create an episodes file from a Chronicle and a Personal data frame.

Usage

1
episodes(chronicle, personal, start_event = "Birth", end_event = "Death")

Arguments

chronicle

The Chronicle (time-varying) data frame.

personal

The personal (time-fixed) data frame.

start_event

The start event in a survival context.

end_event

The terminal event in a survival context.

Value

An episodes data frame.


goranbrostrom/idsr documentation built on May 17, 2019, 7:59 a.m.