as.matrix.spectra: Convert spectra to matrix

Description Usage Arguments Value

Description

Convert spectra to matrix

Usage

1
2
## S3 method for class 'spectra'
as.matrix(spec, fix_names = "none")

Arguments

spec

spectra object

fix_names

Use make.names to normalize names. Pick one: "none" "row" "col" "both".

Value

matrix of spectral reflectance. columns are wavelengths and rows are samples


annakat/casper_defunct documentation built on May 10, 2019, 11:50 a.m.