Description Usage Arguments Value
When building default options, a common sequence is 1) build the layers list, 2) build the aesthetics list, and then 3) build the opts list. This encapsulates this process.
1 2 3 |
mvar_table |
The mvar_table that we would like to plot. |
x |
The column name specifying the x-axis in the ordination. Defaults to axis_1 for each coord object in the mvar. |
y |
The column name specifying the y-axis in the ordination. Defaults to axis_2 for each coord object in the mvar. |
col |
The color to use for points or text in the plot. This can either be a column in one or more of the annotation objects, in which case the values from that annotation will be used for coloring, or a string specifying the actual color to use. |
shape |
The points to use for points in the plot. This can either be a column in one or more of the annotation objects, in which case the values from that annotation will be used for coloring, or a string specifying the actual color to use. |
size |
The size of points in the plot. This can either be a column in one or more of the annotation objects, in which case the values from that annotation will be used for coloring, or a string specifying the actual color to use. |
label |
The label to use for text in the plot. This can either be a column in one or more of the annotation objects, in which case the values from that annotation will be used for coloring, or a string specifying the actual color to use. |
facet_vector |
A vector containing column names in the annotation data to use for faceting. |
... |
Other arguments passed on to layer. These are often aesthetics, used to set an aesthetic to a fixed value. They may also be parameters to the paired geom/stat. |
Two lists containing the aes and non aes options. Both lists have length given by the number layers in the mvar object. The i^th component contains directions for plotting the i^th layer. The aes list contains options that are column names in the corresponding annotation, the non-aes components are not in the data annotation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.