Description Usage Arguments Value Examples
takes an input data.frame, permutes some variables, and stacks the resulting data.frame
s.
1 | makePermutedDesign(data, vars, nperm)
|
data |
a |
vars |
a character vector indicating columns in |
nperm |
an integer specifying the number of times to permute the columns indicated by |
a data.frame
with number of rows equal to nrow(data) * nperm
1 2 | data = data.frame(x = 1:3, y = letters[1:3])
makePermutedDesign(data, "x", 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.