Find table of break ages and labels

get_breakpoints(dnr = "smocc")

Arguments

dnr

Name of donor dataset. May include "0-2", "2-4" and "4-18"

Value

A data frame with three columns: visit, age and label

Note

SvB 10/01/2021: This function is perhaps better replaced by a read from the fitted brokenstick object.

Examples

get_breakpoints("pops")
#>    visit   age label
#> 1      1  0.00    0w
#> 2      2  0.25    3m
#> 3      3  0.50    6m
#> 4      4  1.00   12m
#> 5      5  2.00   24m
#> 6      6  5.00    5y
#> 7      7  9.00    9y
#> 8      8 10.00   10y
#> 9      9 11.00   11y
#> 10    10 14.00   14y
#> 11    11 19.00   19y