plot_date {PHENTHAUproc} | R Documentation |
Plot SpatRaster with date serial number/time attribute
Description
A wrapper around terra::plot to show the time serial number as a character date in the legend.
Usage
plot_date(x, breaks = NULL, ...)
Arguments
x |
SpatRaster - numeric - value is serial number or SpatRaster - logical - with time attribute |
breaks |
number of breaks in the legend - numeric |
... |
arguments for terra::plot function, except (type, breaks, col or plg) |
Value
A plot of a phenological event by day with legend.
See Also
Other Plot:
plot_stages()
,
plot_station_step()
Examples
data <- load_test()
budswelling <- phenology(data, "budswelling", "quercus_robur_clone256_type1", 2020)
plot_date(budswelling)
[Package PHENTHAUproc version 1.1 Index]