% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bayesian_update.R
\name{.apply_bayesian_update}
\alias{.apply_bayesian_update}
\title{Apply any cached Bayesian updates to a tolerance list}
\usage{
.apply_bayesian_update(tols, species)
}
\arguments{
\item{tols}{Tolerance list from \code{\link[=get_species_tolerances]{get_species_tolerances()}}.}

\item{species}{Character. Species key.}
}
\value{
Updated tolerance list (or unchanged if no cache entry found).
}
\description{
Called internally by \code{\link[=get_species_tolerances]{get_species_tolerances()}} and \code{\link[=predict_oyster]{predict_oyster()}} to
transparently substitute updated parameters when a Bayesian update exists
for a species in the session cache. End users rarely need to call this
directly.
}
\keyword{internal}
