This function iterates through adult input data for every stream and environmental covariate, fiting the P2S model and pulling out diagnostic statistics. The data is truncated to only include years for which all environmental covariates are available.

compare_P2S_model_covariates(observed_adult_input, adult_model_covariates)

Value

A table containing the following variables:

  • par_names Parameter name

  • stream Mean of the posterior distribution for a parameter

  • mean Monte Carlo standard error for summary of all chains merged (see details)

  • median 50% quantile of posterior distribution for a parameter.

  • sd standard deviation

  • covar_considered the covariate considered

See also