Navigation Banner
 
 HYPHY Reference:Batch language command:ConstructCategoryMatrix

ConstructCategoryMatrix Batch language command
  Produces a matrix of category assignments for the sites of data analyzed with category variables.
Syntax  CategoryMatrix (receptacle, likelihood_function, short_or_long);
Notes
'receptacle' is the matrix to store category assignments,
'likelihood_function' is a likelihood function identifier,
and short_or_long is a flag which indicates whether to produce a matrix which for each site will contain a row of conditional likelihoods for each category, or rather just the index of the maximally likely category.

The resulting matrix will contain a column for each site in the data (left to right).

If short_or_long is set to COMPLETE, the long matrix is produced. Any other value will generate a short matrix.

Examples
ConstructCategoryMatrix(cm, lf, COMPLETE);
 Last modified: 8/20/2002

 
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002