separate: Separates a 'SpectraDataFrame' object into a calibration and...

Description Usage Arguments Details Value Author(s)

Description

Separates a SpectraDataFrame object into a calibration and a validation set.

Usage

1
2
separate(obj, calibration, ...)
unseparate(obj, ...)

Arguments

obj

an object inheriting from class SpectraDataFrame

calibration

The fraction of the dataset to be put in the calibration set

...

Ignored

Details

The unseparate function provides a way back to the oriiginal object, but it still under development.

Value

An list with two SpectraDataFrame objects, one for the calibration, and the other for the validation.

Author(s)

Pierre Roudier pierre.roudier@gmail.com


pierreroudier/specstore documentation built on May 25, 2019, 6:09 a.m.