Description Usage Arguments Value
Convert a wide dataset into a format that can be fed to ggplot to create a scatterplot matrix.
1 |
data |
Data frame, in "wide" format (i.e. must contain a column for each xy_vars and z_vars). |
xy_vars |
Character vector indicating variables to be paired (these would be the x and y dimensions if the result is used for a scatterplot matrix). |
z_vars |
Optional character vector indicating additional variables to retain for each record. |
mirror |
Logical indicating whether to generate data for both upper and lower trianges of the matrix (default is FALSE). |
A restructured data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.