View source: R/helper-functions.R
parameters | R Documentation |
Given an object of class SummaryResults
, extract
a data.frame containing summaries of parameter estimates.
See the documentation for fetchSummary
for details
of the summaries.
parameters(object)
object |
An object of class |
A data.frame.
fetchSummary
deaths <- demdata::VADeaths2
popn <- demdata::VAPopn
deaths <- round(deaths)
deaths <- Counts(deaths)
popn <- Counts(popn)
filename <- tempfile()
model <- Model(y ~ Poisson(mean ~ age + sex),
jump = 0.5)
estimateModel(model = model,
y = deaths,
exposure = popn,
filename = filename,
nBurnin = 50,
nSim = 50,
nChain = 2,
parallel = FALSE)
summary.est <- fetchSummary(filename)
parameters(summary.est)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.