crrct0.Rd
Use this function to rescale a vector using the first entry
crrct0(x)
a numeric vector
if (FALSE) { # \dontrun{ data.frame(group = c(rep("A", 4), rep("B", 4)) ,order = c(1:4, 1:4)) %>% mutate(value = 2*order+rnorm(8, 5)) %>% group_by(group) %>% mutate(value_corrected = crrct0(value)) } # }