Get the design specification from a data table created in faux. This can be used to create more simulated data with the same design.

get_design(data)

Arguments

data

The data table to check

Value

list with class design

Examples

data <- sim_design(2, 2, plot = FALSE)
design <- get_design(data)
data2 <- sim_design(design, plot = FALSE)