Learn R Programming

LCF (version 1.7.0)

initial_load: Initial loading of spectra

Description

This function loads and initially normalizes the raw spectra. Output is a list with the raw and initially corrected spectra.

Usage

initial_load(raw.spec = NULL, file = NULL, corr.norm, use.eshift = NULL)

Arguments

raw.spec

List of files already loaded with read_raw_spec()

file

Vector with file names

corr.norm

Initial correction and normalization parameters

use.eshift

Set TRUE, if using energy shift value, defaults to NULL

Examples

Run this code
# NOT RUN {
data(stdmix)
corr.spec.standards  <- initial_load(specdat[1:4], 
  corr.norm = c(-36, -15, 37, 58))
corr.spec.samples    <- initial_load(specdat[5:8], 
  corr.norm = c(-36, -15, 37, 58))
# }

Run the code above in your browser using DataLab