select_data
selects taxa with a particular combination of data and models
Contents
Syntax
[taxa, models, exact, sel] = select_data (data, model)
Description
selects taxa with a particular combination of data and models
Input:
- data: cell string with combination of data
- model: optional cell string with models (default: all)
Output:
- taxa: cell string with names of taxon
- model: cell string with names of corresponding models
- exact: vector of booleans if the match is exact, meaning that that entry has no more data
- sel: vector of booleans that indicate selection in the whole collection of entries
Remarks
Sequence of data is ignored; zero- and uni-variate data can be mixed. All data elements must be typified names, as mentioned in DEBwiki; if data is an empty cell string, entries are only selected on the basis of model. All model names must be typified model.
Example of use
select_data({'ab'; 'am'; 'Ww-N'})