plotmap_viridis: Plotmap using viridis

Description Usage Arguments

View source: R/plotmap.R

Description

Use the viridis colorramp in plotmap as default. The model can contain the special column name .wavelength to specify the wavelength axis.

Usage

1
2
3
4
5
6
7
plotmap_viridis(
  object,
  model = spc ~ x * y,
  func = mean,
  func.args = list(),
  ...
)

Arguments

object

the hyperSpec object

model

formula specifying the columns of object that are to be displayed by levelplot

func

Before plotting, plotmap applies function func with the arguments given in the list func.args to each of the spectra. Thus a single summary value is displayed for each of the spectra.

This can be suppressed manually by setting func to NULL. It is automatically suppressed if .wavelength appears in the formula.

func.args

Before plotting, plotmap applies function func with the arguments given in the list func.args to each of the spectra. Thus a single summary value is displayed for each of the spectra.

This can be suppressed manually by setting func to NULL. It is automatically suppressed if .wavelength appears in the formula.

...

further arguments are passed down the call chain, and finally to levelplot


konradmayer/hyperSpec.utils documentation built on May 2, 2021, 4:17 a.m.