R/prepare_LTFHPlus_input.R
convert_format.Rd
Attempts to convert the list entry input format to a long format
convert_format(family, threshs, personal_id_col = "pid", role_col = NULL)
a tibble with two entries, family id and personal id. personal id should end in "_role", if a role column is not present.
thresholds, with a personal id (without role) as well as the lower and upper thresholds
column name that holds the personal id
column name that holds the role
returns a format similar to prepare_LTFHPlus_input
, which is used by estimate_liability