Learn R Programming

sits (version 1.5.2)

plot.patterns: 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 patterns
plot(x, y, ..., bands = NULL, year_grid = FALSE)

Value

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

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.

Author

Gilberto Camara, gilberto.camara@inpe.br

Victor Maus, vwmaus1@gmail.com

Examples

Run this code
if (sits_run_examples()) {
    # plot patterns
    plot(sits_patterns(cerrado_2classes))
}

Run the code above in your browser using DataLab