nmr_export_data_1r: Export 1D NMR data to a CSV file

Description Usage Arguments Value Examples

View source: R/nmr_dataset_1D.R

Description

Export 1D NMR data to a CSV file

Usage

1

Arguments

nmr_dataset

An nmr_dataset_1D object

filename

The csv filename

Value

The nmr_dataset object (unmodified)

Examples

1
2
3
4
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
#nmr_export_data_1r(dataset_1D, "exported_nmr_dataset")

AlpsNMR documentation built on April 1, 2021, 6:02 p.m.