ordercaptures: Order capture histories

Description Usage Arguments Value

View source: R/routines.R

Description

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.

Usage

1

Arguments

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.

Value

A data matrix that is ordered first by the number of 1s in the capture history and then lexicographically by columns.


SparseMSE documentation built on Dec. 26, 2019, 5:06 p.m.