autoplot.qts_sample {squat} | R Documentation |
Plot for qts_sample
objects
Description
This function creates a visualization of a sample of QTS and returns the corresponding ggplot2::ggplot object which enable further customization of the plot.
Usage
## S3 method for class 'qts_sample'
autoplot(
object,
memberships = NULL,
highlighted = NULL,
with_animation = FALSE,
...
)
Arguments
object |
An object of class |
memberships |
A vector coercible as factor specifying a group membership
for each QTS in the sample. Defaults to |
highlighted |
A boolean vector specifying whether each QTS in the sample
should be hightlighted. Defaults to |
with_animation |
A boolean value specifying whether to create a an
animated plot or a static ggplot2::ggplot object. Defaults to |
... |
Further arguments to be passed to methods. |
Value
A ggplot2::ggplot object.
Examples
ggplot2::autoplot(vespa64$igp)
[Package squat version 0.3.0 Index]