Description Usage Arguments Value
new_spell
1 2 |
df |
an episode dataframe |
id |
the column name of the id field |
adt |
the column name of the admission datetime field |
npat |
the column name of the new patient flag field |
epno |
the episode number in the spell |
a dataframe which is a copy of df with a new column new_spell which is TRUE if the row represents an episode that is the first for that patient and that admission datetime, and FALSE if the row above represents an episode for the same patient and same admission datetime.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.