Add a design specification to a data table

set_design(data, design)

Arguments

data

The data table

design

The design list

Value

A data frame with a design attribute

Examples

design <- check_design()

data <- data.frame(id = 1:100, y = rnorm(100)) %>%
  set_design(design)