DeclareDesign (version 0.12.0)

print_code: Print code to recreate a design

Description

Print code to recreate a design

Usage

print_code(design)

Arguments

design

A design object, typically created using the + operator

Examples

Run this code
# NOT RUN {
my_population <- declare_population(N = 100)

my_assignment <- declare_assignment(m = 50)

my_design <- my_population + my_assignment

print_code(my_design)

# }

Run the code above in your browser using DataLab