permute | R Documentation |
permute
returns data with treatment assigments permuted
permute(data, trtname, runit, strat = NULL)
data |
a data frame |
trtname |
character string specifying the name of randomized treatment
variable in |
runit |
character string specifying the name of unit of randomization
in |
strat |
an optional character string specifying the name of the variable
in |
This function inputs a data frame and outputs the same data frame with the
trtname
column permuted according to the randomization scheme
provided. This is a general utility function used within test and confidence
interval functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.