IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
data_split_groups.m File Reference

Detailed Description

Splits data according to groups. Returns an array of datasets.

Definition in file data_split_groups.m.

Go to the source code of this file.

Functions

function data_split_groups (in data)
 

Function Documentation

function data_split_groups ( in  data)
Parameters
datairdata object
Returns
[pieces] or [pieces, map]. pieces: array of irdata objects; map cell array of vectors containing the indexes of the rows in the original dataset that went to each element of piece.