plot.patterns | R Documentation |
Plots the patterns to be used for classification
Given a sits tibble with a set of patterns, plot them.
## S3 method for class 'patterns'
plot(x, y, ..., bands = NULL, year_grid = FALSE)
x |
Object of class "patterns". |
y |
Ignored. |
... |
Further specifications for plot. |
bands |
Bands to be viewed (optional). |
year_grid |
Plot a grid of panels using labels as columns and years as rows. Default is FALSE. |
A plot object produced by ggplot2 with one average pattern per label.
This code is reused from the dtwSat package by Victor Maus.
Gilberto Camara, gilberto.camara@inpe.br
Victor Maus, vwmaus1@gmail.com
if (sits_run_examples()) {
# plot patterns
plot(sits_patterns(cerrado_2classes))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.