qplotc: Spectra plotting with ggplot2

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/qplot.R

Description

Spectra plotting with ggplot2

Usage

1
2
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

plotc

ggplotgeom_point

Examples

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

hyperSpec documentation built on May 29, 2017, 5:12 p.m.

Search within the hyperSpec package
Search all R packages, documentation and source code