create_person_period_data | R Documentation |
Generates person-period data for any data set, given the bounds defined by the training set.
create_person_period_data(individual_data, bounds)
individual_data |
A survival data set. |
bounds |
Output from the 'generate_bounds' function of this package. |
A data set consisting of the original 'individual_data' repeated once for each interval defined by the 'bounds' parameter. Each row will be labeled with an id and an interval. The output of this function can be passed to either 'create_training_data' or 'spect_predict' to genreate modeling data or predictions respectively.
Stephen Abrams, stephen.abrams@louisville.edu
[generate_bounds()], [spect_predict()], [create_training_data()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.