Learn R Programming

specmine (version 2.0.3)

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") 
# }

Run the code above in your browser using DataLab