R/Episodes.R
episode_check.Rd
This is a helper function to assist rank_episodes
rank_episodes
episode_check(df)
a data frame with "gap", "initial_rank", and "permi_gap" columns appended from identify_gaps()
identify_gaps()
a data frame with an "episode" column appended, which ranks episodes of care in time