View source: R/nma_nodesplit-class.R
summary.nma_nodesplit_df | R Documentation |
Posterior summaries of node-splitting models (nma_nodesplit
and
nma_nodesplit_df
objects) can be produced using the summary()
method, and
plotted using the plot()
method.
## S3 method for class 'nma_nodesplit_df'
summary(
object,
consistency = NULL,
...,
probs = c(0.025, 0.25, 0.5, 0.75, 0.975)
)
## S3 method for class 'nma_nodesplit'
summary(
object,
consistency = NULL,
...,
probs = c(0.025, 0.25, 0.5, 0.75, 0.975)
)
## S3 method for class 'nma_nodesplit'
plot(x, consistency = NULL, ...)
## S3 method for class 'nma_nodesplit_df'
plot(x, consistency = NULL, ...)
consistency |
Optional, a |
... |
Additional arguments passed on to other methods |
probs |
Numeric vector of specifying quantiles of interest, default
|
x , object |
A |
The plot()
method is a shortcut for plot(summary(nma_nodesplit))
. For
details of plotting options, see plot.nodesplit_summary()
.
A nodesplit_summary object
plot.nodesplit_summary()
# Run smoking node-splitting example if not already available
if (!exists("smk_fit_RE_nodesplit")) example("example_smk_nodesplit", run.donttest = TRUE)
# Summarise the node-splitting results
summary(smk_fit_RE_nodesplit)
# Plot the node-splitting results
plot(smk_fit_RE_nodesplit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.