
Gives a TRUE/FALSE for if the Parameters have only 1 associated unit
check_for_unique_units.Rd
Gives a TRUE/FALSE for if the Parameters have only 1 associated unit
Examples
df <- data.frame(
PARAM = c(
"ALB","ALT","AST","CR","TBIL",
"ALB","CR","TBIL","ALT","AST"),
UNIT = c(
"g/L","U/L","U/L","umol/L","umol/L",
"U/L","μmol/L","μmol/L","IU/L","IU/L")
)
check_for_unique_units <- get_unique_units_df(df$PARAM, df$UNIT)