Given a matrix with capture histories only, the routine orders the capture histories first by the number of 1s in the capture history and then lexicographically by columns.
ordercaptures(zmat)Data matrix with \(t\) columns. The \(t\) columns, each corresponding to a particular list, are 0s and 1s defining the capture histories observed. Where a capture history is not explicitly listed, it is assumed that it has observed count zero.
A data matrix that is ordered first by the number of 1s in the capture history and then lexicographically by columns.