Learn R Programming

SOMnmR (version 0.3.0)

mk_nc_data: Create .csv file for CN data

Description

This function copies the spectra read using the read_spec function and creates a .csv file with a colum with their names and two empty columns where the user must add the C and N values. Thereafter the file is read with the function nc_data

Usage

mk_nc_data(raw.spec)

Value

A data frame with three columns, one containing the names extracted from the raw.spec, and two columns to be filled manually with the carbon and nitrogen values.

Arguments

raw.spec

The uploaded spectra read using the read_spec function

Examples

Run this code
## any .txt file as output from BRUKER

Run the code above in your browser using DataLab