adheRenceRX (version 1.0.0)

episode_check: Ranking Episodes of Care

Description

This is a helper function to assist rank_episodes

Usage

episode_check(df)

Arguments

df

a data frame with "gap", "initial_rank", and "permi_gap" columns appended from identify_gaps()

Value

a data frame with an "episode" column appended, which ranks episodes of care in time