std_df function

Create a data frame of all standards

Create a data frame of all standards

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.

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)
  • Maintainer: Florian Werner
  • License: GPL-3
  • Last published: 2017-11-22

Useful links