% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bayesian_update.R
\name{get_tolerance_posteriors}
\alias{get_tolerance_posteriors}
\title{Retrieve current posterior tolerance parameters for a species}
\usage{
get_tolerance_posteriors(species, var = NULL)
}
\arguments{
\item{species}{Character. Species key (e.g. \code{"ostrea_edulis"}).}

\item{var}{Character or NULL. If specified, returns parameters for that
variable only; otherwise returns the full \verb{$scored} list.}
}
\value{
Named list of tolerance parameters (same structure as
\code{\link[=get_species_tolerances]{get_species_tolerances()}}\verb{$scored}).
}
\description{
Returns the tolerance parameter list currently held in the session cache,
after any \code{\link[=update_species_tolerances]{update_species_tolerances()}} calls. If no update has been run,
returns the built-in prior parameters unchanged.
}
\examples{
\donttest{
# After calling update_species_tolerances()
post <- get_tolerance_posteriors("ostrea_edulis")
post$temperature  # updated optimal_min, optimal_max with CIs
}
}
