make_designpattern | R Documentation |
A helper function for use with make_design
make_designpattern(
values,
rows,
cols,
pattern = 1:length(values),
byrow = TRUE
)
mdp(values, rows, cols, pattern = 1:length(values), byrow = TRUE)
values |
Vector of values to use |
rows |
Vector of rows where pattern applies |
cols |
Vector of cols where pattern applies |
pattern |
Numeric pattern itself, where numbers refer to entries
in |
byrow |
logical for whether pattern should be created by row |
list(values, rows, cols, pattern, byrow)
[gcplyr::make_design()]
make_design(nrows = 8, ncols = 12,
design_element_name = make_designpattern(
values = c("A", "B", "C"),
rows = 2:7,
cols = 2:11,
pattern = "112301",
byrow = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.