plot_nma: Plot a network plot

Description Usage Arguments Author(s) Source See Also

View source: R/plot_nma.R

Description

Takes a create_INLA_dat output and plots a network graph.

Usage

1
2
3
4
5
6
7
8
plot_nma(
  s.id = "study",
  t.id = "treatment",
  data,
  title = "",
  adjust.figsizex = 1.1,
  adjust.figsizey = 1.1
)

Arguments

s.id

Variable holding the study IDs for each study. The default is "study".

t.id

Variable holding the treatments for each study. The default is "treatment".

data

A create_INLA_dat object.

title

A character string indicating plot title.

adjust.figsizex

a positive number used to adjust the plot width. The default is 1.1.

adjust.figsizey

a positive number used to adjust the plot height. The default is 1.1.

Author(s)

Lifeng Lin, Jing Zhang, and Haitao Chu

Source

This function is taken from nma.networkplot function from pcnetmeta R package.

See Also

pcnetmeta::nma.networkplot


gunhanb/nmaINLA documentation built on Feb. 27, 2021, 9:12 a.m.