1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update_sso.R
\name{update_sso}
\alias{update_sso}
\title{Update an object created by the previous version of shinystan}
\usage{
update_sso(sso)
}
\arguments{
\item{sso}{A \code{\link[=as.shinystan]{shinystan object}}.}
}
\value{
If \code{sso} is already compatible with your version of
\pkg{shinystan} then \code{sso} itself is returned and a message is printed
indicating that \code{sso} is already up-to-date. Otherwise an updated
version of \code{sso} is returned unless an error is encountered.
}
\description{
If you encounter any errors when using a shinystan object (\code{sso})
created by a previous version of \pkg{shinystan}, you might need to run
\code{update_sso}. If \code{update_sso} does not resolve the problem and
you still have the object (e.g. stanfit, stanreg, mcmc.list) from which
\code{sso} was originally created, you can create a new shinystan object
using \code{\link{as.shinystan}}.
}
\examples{
\dontrun{
sso_new <- update_sso(sso)
}
}
\seealso{
\code{\link{as.shinystan}} for creating \code{shinystan} objects.
}
|