Impute TYPE based on patterns in PARAMETER

Patterns are found via regex. Take care, the matching might have flaws, see example(imputeTYPEcol_GPF)

imputeTYPEcol_GPF(estimates)

Arguments

estimates

data.frame(PARAMETER, othercols...)

Value

data.frame(inputcols..., TYPE)

See also

Examples

estimates <- data.frame(PARAMETER = c("ka", "beta_ka(WT)CanBeNonsense", "corr(x,y)", "error_PROPDoesntmatterwhatshere", "beta_CL(SEX_2)", "CL")) imputeTYPEcol_GPF(estimates)
#> PARAMETER TYPE #> 1 ka MODEL PARAMETER #> 2 beta_ka(WT)CanBeNonsense CONTINUOUS COVARIATE #> 3 corr(x,y) IIV CORRELATION #> 4 error_PROPDoesntmatterwhatshere RELATIVE ERROR #> 5 beta_CL(SEX_2) CATEGORICAL COVARIATE #> 6 CL MODEL PARAMETER