plot_spectrum: Display the r-spectrum of a 'spectral_sews' object

View source: R/task_spectral_indic_methods.R

plot_spectrumR Documentation

Display the r-spectrum of a spectral_sews object

Description

Display the r-spectrum (or multiple spectra) that are contained in an object returned by spectral_sews object (or the result of indictest applied on such object).

Usage

plot_spectrum(x, along = NULL, log = TRUE, display_null = TRUE, ...)

Arguments

x

An object produced by spectral_sews or the result returned by indictest applied on such object

along

A vector providing numerical or categorical values along which the indicator trends will be plotted. If NULL, then the indicator values are plotted sequentially in their original order.

log

Whether to use a log scale or a linear scale on the y axis

display_null

Whether to display null information. This argument is ignored if x has not been produced through indictest (and thus does not contain data regarding the null model)

...

Other arguments are ignored

See Also

rspectrum, spectral_sews, extract_spectrum


spatialwarnings documentation built on Sept. 11, 2024, 8:55 p.m.