summary.nma_nodesplit_df function

Summarise the results of node-splitting models

Summarise the results of node-splitting models

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, ...)

Arguments

  • consistency: Optional, a stan_nma object for the corresponding fitted consistency model, to display the network estimates alongside the direct and indirect estimates. The fitted consistency model present in the nma_nodesplit_df object will be used if this is present (see get_nodesplits()).
  • ...: Additional arguments passed on to other methods
  • probs: Numeric vector of specifying quantiles of interest, default c(0.025, 0.25, 0.5, 0.75, 0.975)
  • x, object: A nma_nodesplit or nma_nodesplit_df object

Returns

A nodesplit_summary object

Details

The plot() method is a shortcut for plot(summary(nma_nodesplit)). For details of plotting options, see plot.nodesplit_summary().

Examples

# 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)

See Also

plot.nodesplit_summary()