Learn R Programming

PHENTHAUproc (version 1.1.1)

plot_stages: Plot regional PHENTHAUproc - Stages

Description

A wrapper to plot the development stages of OPM with assigned names and colors

Usage

plot_stages(x, time = NULL, ...)

Value

A plot of the PHENTHAUproc stages of the last/chosen time with preset levels and colors.

Arguments

x

SpatRaster stages output of phenthau - numeric

time

day to plot - Date or character year-month_day i.e.("2020-05-01")

...

arguments passed along to terra::plot

Details

phenthau returns a list of SpatRasters. The stages object describes the development stages of oak processionary moth. This function plots the stages SpatRaster with the right names and colors. To get IDs, caregories and colors use get_legend("stages").

See Also

Other Plot: plot_date(), plot_station_step()