Description Usage Arguments Value
While the plot\_mvar\_from\_opts is very flexible, it does not provide an easy to use interface for the most common plotting procedures. This provides some of the default plotting options for aes lists (those whose names are columns in the mvar object) and non-aes lists (those that are not related to the data, for example, calling geom_text() with col = "red".)
1 2 3 |
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. |
... |
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. |
mvar_object |
The mvar_object that we would like to plot. |
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.