Clean mol_act_ratio
variable from gp4
Arguments
- x
character the
mol_act_ratio
variable from gp4
Value
a numeric version of x
Examples
mol_act_ratio <- c(NA, "0.19", "N/A", "0.9*")
mol_act_ratio |> clean_mol_act_ratio()
#> [1] NA 0.19 NA 0.90