nmaforest function

Generating a ranked forest plot for the synthesis results of network meta-analysis

Generating a ranked forest plot for the synthesis results of network meta-analysis

A ranked forest plot for the synthesis results of network meta-analysis is generated based on the forestplot package by simple command. Details of the forestplot is customized by using the output objects of obj.forest function); see also help(obj.forest).

nmaforest(x,method="NH",col.plot="black",digits=3,ascending=TRUE)

Arguments

  • x: Output object of setup
  • method: Estimation and prediction method. NH: Noma-Hamura's improved REML-based methods (default). REML: The ordinary REML method. fixed: Fixed-effect model.
  • col.plot: Color of the confidence interval plot (default: black)
  • digits: Number of decimal places
  • ascending: Type of order. Default is ascending order, but it can be changed to descending order changing to FALSE.

Returns

A ranked forest plot for the synthesis results of network meta-analysis is generated.

Examples

data(heartfailure) hf2 <- setup(study=study,trt=trt,d=d,n=n,measure="OR",ref="Placebo",data=heartfailure) nmaforest(hf2) # Default setting nmaforest(hf2, col.plot="blue") # Change the color nmaforest(hf2, ascending=FALSE) # Change to the descending order