plot {sits}R Documentation

Plot time series

Description

This is a generic function. Parameters depend on the specific type of input. See each function description for the required parameters:

In the case of time series, the plot function produces different plots based on the input data:

The plot.sits function makes an educated guess of what plot is required, based on the input data. If the input data has less than 30 samples, it will default to "all years". If there are more than 30 samples, it will default to "together".

Usage

## S3 method for class 'sits'
plot(x, y, ...)

Arguments

x

object of class "sits"

y

ignored

...

further specifications for plot.

Value

The plot itself.

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Examples

## Not run: 
# Read a set of samples with 2 classes ("Cerrado" and "Pasture")
# Plot all the samples together
plot(cerrado_2classes)
# Plot the first 20 samples (defaults to "allyears")
plot(cerrado_2classes[1:20, ])

## End(Not run)


[Package sits version 0.16.2 Index]