Learn R Programming

specmine (version 1.0)

convert_from_chemospec: Convert from ChemoSpec

Description

Convert the dataset in the ChemoSpec format to a dataset of this package.

Usage

convert_from_chemospec(csobj, type = "undefined", description = "")

Arguments

csobj
ChemoSpec object representing the dataset.
type
string representing the type of the data.
description
string representing the description of the dataset.

Value

Returns a list representing the dataset converted.

Examples

Run this code
## Not run: 
#   ## Example of converting a dataset from ChemoSpec 
#   dataset = convert_from_chemospec(chemospec.dataset, type = "nmr-peaks", 
#    	    description = "some description") 
# ## End(Not run)

Run the code above in your browser using DataLab