Description Usage Arguments Value
Make a sample layer
1 | layer_sample(data, classes = NULL, alpha = 0.5, size = 3, ...)
|
data |
data.frame: a sample with continuous features 'x' and 'y' grouped by factor 'class' |
classes |
(optional) a vector of which levels of 'class' to plot; default is to plot data from all classes |
a 'ggplot2::LayerInstance' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.