drop_prepare {dropout} | R Documentation |
internal function to detect dropouts
drop_prepare(data, last_col)
data |
dataframe or tibble to detect dropouts. |
last_col |
Index position or column name of the last survey item. This is an optional argument and is needed if there are other columns in your dataframe after the survey items you want to detect the dropout for. |
A list containing a dataframe or tibble with the following for each row of your dataset: A logical whether a dropout has been detected and, if so, the column name where it occurs and the index of the column. As well as the value of the col_index