The number of rows function. Returns the number of rows in a matrix. Can also be used to count the number of objects of a given kind.
Syntax
Rows(m)
Notes
m must be a matrix.
Rows can also be used to count objects of a certain type (an ugly hack indeed!)
Rows("LikelihoodFunction") returns the number of currently defined likelihood functions
Rows("DataSet") returns the number of currently defined datasets.
Rows("DataSetFilter") returns the number of currently defined dataset filters.
Rows("Variable") returns the number of currently defined variables
Rows("LAST_MODEL_PARAMETER_LIST") returns the number of parameters in the last defined model.
Examples
Last modified: 8/9/2002
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002