aest.f | R Documentation |
This function is called by moss whenever a plot is produced. It simply assigns colors and shape to points based on input labels.
aest.f(x, n.cat = 2, option = "D")
x |
Character vector with labels, or a numerical vector to be discretized in 'n.cat' categories. |
n.cat |
Number of categories to split vector 'x'. Numeric. Ignored if 'x' is a character vector. |
option |
Controls color palette. One of the possible 'option' arguments for the 'viridis' function. |
A data.frame with labels as rownames and two columns representing point colors and shape, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.