R: Plot classified images

plot.classified_image {sits} | R Documentation

## Plot classified images

### Description

plots a classified raster using ggplot.

### Usage

    ## S3 method for class 'classified_image'
    plot(
      x,
      y,
      ...,
      time = 1,
      title = "Classified Image",
      legend = NULL,
      palette = "Spectral",
      rev = TRUE
    )

### Arguments

`x` | object of class "classified_image"
`y` | ignored
`...` | further specifications for plot.
`time` | temporal reference for plot.
`title` | title of the plot
`legend` | named vector that associates labels to colors
`palette` | alternative palette that uses grDevices::hcl.pals()
`rev` | invert the order of hcl palette (TRUE/FALSE)

### Author(s)

Gilberto Camara, gilberto.camara@inpe.br

[Package sits version 0.16.2 Index]