import_absorption: Import absorption spectrum.

Description Usage Arguments Value Author(s)

Description

This function imports an absorption spectrum collected by the Ocean Optics Flame spectrometer in our lab. It just needs to be told where the data begins by the data_tag parameter.

Usage

1
2
3
import_absorption(filename = file.choose(),
  data_tag = ">>>>>Begin Spectral Data<<<<<", columns = c("Wavelength",
  "Absorption"))

Arguments

filename

The file to import.

data_tag

Identifies where in the file the data begins, defaults to the right option for the Ocean Optics Flame spectrometer in our lab.

columns

What to name the columns in the data frame.

Value

Returns a data frame with column names given by the columns input parameter.

Author(s)

Mike Gerhardt


mikegerhardt/echem documentation built on May 22, 2019, 10:51 p.m.