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' (1998) <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.
| Version: | 2026.12.3 |
| Imports: | checkmate, MASS, Matrix, msm, numDeriv, plyr, reshape2, TMB (≥ 1.7.15), utils |
| LinkingTo: | TMB, RcppEigen |
| Suggests: | knitr, rmarkdown |
| Published: | 2026-12-01 |
| DOI: | 10.32614/CRAN.package.SPAS |
| Author: | Carl James Schwarz [aut, cre, cph] |
| Maintainer: | Carl James Schwarz <cschwarz.stat.sfu.ca at gmail.com> |
| BugReports: | https://github.com/cschwarz-stat-sfu-ca/SPAS/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/cschwarz-stat-sfu-ca/SPAS |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | SPAS results |
| Reference manual: | SPAS.html , SPAS.pdf |
| Vignettes: |
Automatic Pooling (source, R code) Conne River 1991 Data (source, R code) Conne River 1992 Data (source, R code) Harrison River Female Chinook 2011 Data (source, R code) Pooling Columns (source, R code) Testing for Pooled Petersen (source, R code) Things that can go wrong (source, R code) |
| Package source: | SPAS_2026.12.3.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): SPAS_2026.12.3.tgz, r-oldrel (arm64): SPAS_2026.12.3.tgz, r-release (x86_64): SPAS_2026.12.3.tgz, r-oldrel (x86_64): SPAS_2026.12.3.tgz |
| Old sources: | SPAS archive |
Please use the canonical form https://CRAN.R-project.org/package=SPAS to link to this page.