Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qplotc

Spectra plotting with ggplot2


Description

Spectra plotting with ggplot2

Usage

qplotc(
  object,
  mapping = aes_string(x = "c", y = "spc"),
  ...,
  func = NULL,
  func.args = list(),
  map.pointonly = FALSE
)

Arguments

object

hyperSpec object

mapping

see geom_point

...

handed to geom_point

func

function to summarize the wavelengths, if NULL, only the first wavelength is used

func.args

arguments to func

map.pointonly

if TRUE, mapping will be handed to geom_point instead of ggplot.

Details

These functions are still experimental and may change substantially in future.

Value

a ggplot object

Author(s)

Claudia Beleites

See Also

Examples

qplotc (flu)
qplotc (flu) + geom_smooth (method = "lm")

hyperSpec

Work with Hyperspectral Data, i.e. Spectra + Meta Information (Spatial, Time, Concentration, ...)

v0.100.0
GPL (>= 3)
Authors
Claudia Beleites [aut, cre, dtc] (<https://orcid.org/0000-0003-1626-154X>), Valter Sergo [aut], Alois Bonifacio [ctb, dtc], Marcel Dahms [ctb], Björn Egert [ctb], Simon Fuller [ctb], Vilmantas Gegzna [ctb], Rustam Guliev [ctb], Bryan A. Hanson [ctb], Michael Hermes [ctb], Martin Kammer [dtc], Roman Kiselev [ctb], Sebastian Mellor [ctb]
Initial release
2021-09-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.