update_sso: Update an object created by the previous version of shinystan

View source: R/update_sso.R

update_ssoR Documentation

Update an object created by the previous version of shinystan

Description

If you encounter any errors when using a shinystan object (sso) created by a previous version of shinystan, you might need to run update_sso. If update_sso does not resolve the problem and you still have the object (e.g. stanfit, stanreg, mcmc.list) from which sso was originally created, you can create a new shinystan object using as.shinystan.

Usage

update_sso(sso)

Arguments

sso

A shinystan object.

Value

If sso is already compatible with your version of shinystan then sso itself is returned and a message is printed indicating that sso is already up-to-date. Otherwise an updated version of sso is returned unless an error is encountered.

See Also

as.shinystan for creating shinystan objects.

Examples

## Not run: 
sso_new <- update_sso(sso)

## End(Not run)


shinystan documentation built on March 18, 2022, 5:17 p.m.