std_df {LCF}R Documentation

Create a data frame of all standards

Description

The function creates a data frame with all standards in one data frame. The data frame has the same energy values as the sample that is loaded.

Usage

std_df(sample, all.standards)

Arguments

sample

A raw sample

all.standards

List of all standards

Examples

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))
fit.standards <- std_df(sample = corr.spec.samples[[1]], 
  all.standards = corr.spec.standards)
print(fit.standards)

[Package LCF version 1.7.0 Index]