Description Usage Arguments Details Value Examples
These functions are merely wrappers for reshape
.
Given the complicated syntax of reshape
and the particularly simple
structure of this problem, the functions facilitate the conversion
enormously.
1 |
data |
A |
vars |
The variables representing measurements by different methods. Either a character vector of names, or a numerical vector with the number of the variables in the dataframe. |
If data
represents method comparisons with exchangeable replicates within method, the transformation to wide format does not necessarily make sense.
A data frame with the reshaped data
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.