Convenience function to plot stacked spectra. More details in plotspc

plot_stacked(obj, stacked = TRUE, spc.nmax = nrow(obj), ...)

Arguments

obj

- hyperSpec object.

...

- further arguments to `plotspc()`.

See also

Examples

library(spHelper)
plot_stacked(Spectra2,"gr")
#> Warning: Function 'chk.hy' is deprecated. 
#> Use function 'assert_hyperSpec' instead.
#> Warning: Function 'function (...) 
#> {
#>     hySpc_deprecated("plot_spc")
#>     plot_spc(...)
#> }' is deprecated. 
#> Use function 'plot_spc' instead.