plot.patterns {sits}R Documentation

Plot patterns that describe classes

Description

Plots the patterns to be used for classification

Given a sits tibble with a set of patterns, plot them.

Usage

## S3 method for class 'patterns'
plot(x, y, ..., bands = NULL, year_grid = FALSE)

Arguments

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.

Value

A plot object produced by ggplot2 with one average pattern per label.

Note

This code is reused from the dtwSat package by Victor Maus.

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Victor Maus, vwmaus1@gmail.com

Examples

if (sits_run_examples()) {
    # plot patterns
    plot(sits_patterns(cerrado_2classes))
}

[Package sits version 1.5.0 Index]