LP_SPAS_est {Petersen} | R Documentation |
Extract estimates of abundance after SPAS fit
Description
This will take a previous fit and return estimates of abundance.
Usage
LP_SPAS_est(LP_SPAS_fit, conf_level = 0.95, trace = FALSE)
Arguments
LP_SPAS_fit |
A result of an call to fitting at SPAS object. |
conf_level |
The expected coverage for confidence intervals on N. |
trace |
If trace flag is set in call when estimating functions |
Value
An list object with abundance estimates and other information with the following elements
-
summary Data frame with abundance estimates, their SE, and CIs as requested
-
datetime Date and time the estimation was done from the fit.
Author(s)
Schwarz, C. J. cschwarz.stat.sfu.ca@gmail.com.
Examples
data(data_spas_harrison)
fit <- Petersen::LP_SPAS_fit(data=data_spas_harrison,
model.id="Pooling rows 5/6",
row.pool.in=c(1,2,3,4,56,56),
col.pool.in=c(1,2,3,4,5,6))
fit$summary
est <- Petersen::LP_SPAS_est(fit)
est$summary
[Package Petersen version 2024.6.1 Index]