powered by
Get a data frame of contrast values from a factor vector
get_contrast_vals(v)
a data frame
a factor vector
dat <- sim_design( between = list(group = c("A", "B")), n = 5, plot = FALSE) get_contrast_vals(dat$group)
Run the code above in your browser using DataLab