View source: R/spell_linkage.R
make_spell_table | R Documentation |
make_spell_table
make_spell_table( 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. |
named list containing the spell table and the all_episodes table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.