Learn R Programming

spectrolab (version 0.0.18)

var.spectra: Variance spectrum

Description

Forces keep_txt_meta = TRUE

Usage

# S3 method for spectra
var(x, y = NULL, na.rm = TRUE, use)

Value

single spectrum

Arguments

x

spectra

y

nothing

na.rm

boolean. remove NAs?

use

nothing

Author

Jose Eduardo Meireles

Examples

Run this code
library(spectrolab)
spec = as_spectra(spec_matrix_example, name_idx = 1)
var(spec)

Run the code above in your browser using DataLab