read_allEco
read eco-codes in allEco.mat
Contents
Syntax
[codes, entries] = read_allEco(varargin)
Description
read eco-codes in allStat. Possible arguments are: climate, ecozone, habitat, embryo, migrate, food, gender, reprod.
Input:
- varargin: names of variables or cell-string with names of variables
Output
- codes: (n,x)-cell-array with codes
- entries: n-cell string with names of entries
Remarks
- Field migrate can be empty in case of no migration or torpor.
- See also prt_ecoCodes to print a table with ecoCodes.
Example of use
gender_embryo = read_allEco('gender', 'embryo'); gender = read_allEco('gender'); [sel, nm] = select_01('Testudines'); prt_tab({nm(sel), gender(sel)});