nmaforest {NMA} | R Documentation |
Generating a ranked forest plot for the synthesis results of network meta-analysis
Description
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)
.
Usage
nmaforest(x,method="NH",col.plot="black",digits=3,ascending=TRUE)
Arguments
x |
Output object of |
method |
Estimation and prediction method. |
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 |
Value
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
[Package NMA version 1.4-3 Index]