Skip to contents

Change Treatment groups to numerical dose

Usage

treatment2dose(x)

Arguments

x

treatment groups with numbers and "Control"

Value

numeric vector of dose

Examples

treatment2dose(c("Control","0.1","1","10"))
#> [1]  0.0  0.1  1.0 10.0