Learn R Programming

obfuscatoR (version 0.2.2)

print_design: Prints the design

Description

Takes a design or list of designs and prints them to the console. To store a design, please see save_design. Depending on the print options, additional text is provided with information on the considered rule and/or the design generation process.

Usage

print_design(design, print_all = FALSE)

Arguments

design

A matrix with rows equal to the number of rules and columns equal to the number of actions

print_all

If TRUE prints information on the number of iterations and and whether all design conditions were met. Default is FALSE

Examples

Run this code
design_opt_input <- list(rules = 4, 
                         actions = 5)

design <- generate_designs(design_opt_input)

print_design(design)
print_design(design, TRUE)

Run the code above in your browser using DataLab