squeeze: Unique Capture Histories

View source: R/utility.R

squeezeR Documentation

Unique Capture Histories

Description

Compresses or expands capthist objects.

Usage


squeeze(x)
unsqueeze(x)

Arguments

x

secr capthist object

Details

Although squeeze may be applied to spatial capthist objects, the effect is often minimal as most spatial histories are unique.

The ‘freq’ covariate is used by openCR.fit to weight summaries and likelihoods. It is currently ignored by secr.fit.

Value

Both functions return a capthist object with one row for each unique capture history (including covariates). The individual covariate ‘freq’ records the number of instances of each unique history in the input.

See Also

openCR.fit

Examples


squeeze(captdata)


openCR documentation built on Oct. 30, 2024, 9:18 a.m.