View source: R/spell_linkage.R
make_spell_number | R Documentation |
make_spell_number
make_spell_number( ed_data, inpatient_data, same_type_episode_lag = 1, different_type_episode_lag = 6 )
ed_data |
standard ED data |
inpatient_data |
standard inpatient data |
same_type_episode_lag |
the maximum amount of time two episodes of the same type can be separated by and still be classified as part of the same spell. |
different_type_episode_lag |
the maximum amount of time two episodes of different type can be separated by and still be classified as part of the same spell. |
table of all episodes with spell_number
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.