spectra: CDOM absorption data.

Description Usage Format Details Examples

Description

Simple absorption spectra used to test package's functions.

Usage

1

Format

A data frame with 711 rows and 26 variables

Details

Examples

1
2
3
4
5
6
7
8
library(ggplot2)
library(tidyr)
data("spectra")

spectra <- gather(spectra, sample, absorption, -wavelength)

ggplot(spectra, aes(x = wavelength, y = absorption, group = sample)) +
 geom_line(size = 0.1)

Example output



cdom documentation built on May 1, 2019, 10:48 p.m.