as.stan | R Documentation |
Create a stanfit
object from an object for which a method exists,
so that all methods for stanfit
objects can be used.
as.stan(x, ...)
x |
An object for which a method exists. |
... |
Arguments passed to or from other methods. |
An object of class stanfit
, as documented in rstan::stan.
stanfit <- "a"
class(stanfit) <- "stanfit"
converted <- as.stan(stanfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.