rqResMar_optim: Marginal Randomized Quantile Residuals

Description Usage Arguments Value

View source: R/rqRes.R

Description

Calculates Marginal Randomized-quantile residuals for a model fit with optim. As defined in Knape et al. 2018 and available for unmarked models in the nmixgof package.

Usage

1
rqResMar_optim(n_obs, lambda_est)

Arguments

n_obs

a matrix of observed counts, with rows = sites and columns = replicates

lambda_est

estimated lambda (mean abundance across sites) from fitted model

Value

a matrix of residuals with the same dimensions as the observations, n_obs.


philipshirk/nmmsims documentation built on Feb. 26, 2020, 11:27 a.m.