update_sso {shinystan} | R 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 |
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)
[Package shinystan version 2.6.0 Index]