count_stay | R Documentation |
This function count unique length of stay between from_var
to to_var
.
count_stay(df, id_var, from_var, to_var)
df |
data.frame, data.table |
id_var |
id variables |
from_var |
start date |
to_var |
end date |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.