read_stat
read statistics and/or parameters in allStat.mat for specified entries
Contents
Syntax
[var units label] = read_stat(entries, varargin)
Description
read statistics and/or parameters in allStat.mat for specified entries.
Input:
- entries: string with name of taxon or n-cell string with names of entries
- varargin: names of variables or cell-string with names of variables
Output
- var: (n,x)-matrix with values of variables or cell-array if some variable is not numerical
- units: cell string with units of variables
- label: cell string with description of variables
Remarks
Make sure that allStat has been generated at the correct temperature; All parameters are at T_ref, the statistics at T or T_typical, see write_allStat. Print all to html: prt_tab({'Testudines', read_stat('Testudines', 'Ww_i')},{'Testudines', 'Ww_i'}) Put core parameters in a structure with read_pars Use read_allStat to include all entries.
Example of use
complete_mre = read_stat(select('Aves'), 'COMPLETE', 'MRE');