creates a data.frame with some columns permuted
takes an input data.frame, permutes some variables, and stacks the resulting data.frame
s.
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
data = data.frame(x = 1:3, y = letters[1:3]) makePermutedDesign(data, "x", 3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.