Learn R Programming

faux (version 1.2.1)

get_design: Get design

Description

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

Usage

get_design(data)

Value

list with class design

Arguments

data

The data table to check

Examples

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

Run the code above in your browser using DataLab