Package: SPAS 2025.2.1

Carl James Schwarz

SPAS: Stratified-Petersen Analysis System

The Stratified-Petersen Analysis System (SPAS) is designed to estimate abundance in two-sample capture-recapture experiments where the capture and recaptures are stratified. This is a generalization of the simple Lincoln-Petersen estimator. Strata may be defined in time or in space or both, and the s strata in which marking takes place may differ from the t strata in which recoveries take place. When s=t, SPAS reduces to the method described by Darroch (1961) <doi:10.2307/2332748>. When s<t, SPAS implements the methods described in Plante, Rivest, and Tremblay (1988) <doi:10.2307/2533994>. Schwarz and Taylor (1998) <doi:10.1139/f97-238> describe the use of SPAS in estimating return of salmon stratified by time and geography. A related package, BTSPAS, deals with temporal stratification where a spline is used to model the distribution of the population over time as it passes the second capture location. This is the R-version of the (now obsolete) standalone Windows program of the same name.

Authors:Carl James Schwarz [aut, cre]

SPAS_2025.2.1.tar.gz
SPAS_2025.2.1.tar.gz(r-4.5-noble)SPAS_2025.2.1.tar.gz(r-4.4-noble)
SPAS_2025.2.1.tgz(r-4.4-emscripten)SPAS_2025.2.1.tgz(r-4.3-emscripten)
SPAS.pdf |SPAS.html
SPAS/json (API)
NEWS

# Install 'SPAS' in R:
install.packages('SPAS', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

4.80 score 1 packages 366 downloads 6 mentions 3 exports 29 dependencies

Last updated 1 months agofrom:b44a322fe0. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 08 2025
R-4.5-linux-x86_64OKMar 08 2025
R-4.4-linux-x86_64OKMar 08 2025

Exports:SPAS.autopoolSPAS.fit.modelSPAS.print.model

Dependencies:backportscheckmatecliexpmfansigenericsgluelatticelifecyclemagrittrMASSMatrixmsmmvtnormnumDerivpillarpkgconfigplyrRcppRcppEigenreshape2rlangstringistringrsurvivaltibbleTMButf8vctrs

Automatic Pooling

Rendered fromAutomaticPooling.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2023-04-20

Conne River 1991 Data

Rendered fromConne1991.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-02-18

Conne River 1992 Data

Rendered fromConne1992.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-02-18

Harrison River Female Chinook 2011 Data

Rendered fromHarrisonF2011.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-02-18

Pooling Columns

Rendered fromPoolingColumns.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-12-02

Testing for Pooled Petersen

Rendered fromTestingPooledPetersen.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-12-02

Things that can go wrong

Rendered fromThingsThatGoWrong.Rmdusingknitr::rmarkdownon Mar 08 2025.

Last update: 2023-04-20
Started: 2019-12-02