fit_info | R Documentation |
Extract information from a brmsfit object
fit_info(fit, what)
fit |
A brmsfit object, or a list of brmsfit objects |
what |
String. What to return:
|
Depends on what
and the class of fit
. For brmsfit
objects,
information about the single fit is returned. For brmsfit_list
objects, a
list or data.frame with the information for each fit is returned.
"time": A data.frame with the sampling time per chain
"time_mean": A named numeric vector with the mean sampling time
fit <- bmm(
formula = bmmformula(c ~ 1, kappa ~ 1),
data = data.frame(y = rsdm(1000)),
model = sdm(resp_error = "y")
)
fit_info(fit, "time")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.