Learn R Programming

faux (version 1.2.2)

get_contrast_vals: Get contrast values

Description

Get a data frame of contrast values from a factor vector

Usage

get_contrast_vals(v)

Value

a data frame

Arguments

v

a factor vector

Examples

Run this code
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