runnetmeta {nmadb}R Documentation

Run netmeta

Description

R package netmeta provides frequenstist methods for network meta-analysis based on Rücker (2012) and Rücker (2014). This function is used to run netmeta on a specified network included in the database of network meta-analyses, which can be downloaded using function getNMADB.

Usage

runnetmeta(recid, model = "random", measure = "notset")

Arguments

recid

ID of network in database

model

"fixed" or "random"; specifies if fixed or random effects network meta-analysis should be conducted.

measure
  • "notset" (default) is the type of effect measure in the original publication

  • "OR" odds ratio for binary data

  • "RR" risk ratio for binary data

  • "RD" risk difference for binary data

  • "MD" mean difference for continuous data

  • "SMD" standardized mean difference for continuous data

  • "HR" hazard ratio for survival data

  • "IRR" incidence rate ratio for rate data

If the measure entered is not compatible with network's type you get an error

Value

An object of class netmeta; for the descirption of the components included in the object, see the help file of netmeta.

References

Rücker G (2012) <doi:10.1002/jrsm.1058>.

Rücker G, Schwarzer G (2014) <doi:10.1002/sim.6236>.

See Also

netmeta ,getNMADB ,readByID

Examples

## Not run: 
  Conduct random effects network meta-analysis 
  in a random network with continuous outcome

## End(Not run)
cid <- 501427
netc <- readByID(cid)
## Not run: get type and effect
netc$type
netc$effect
## Not run: In order to run netmeta but get "SMD" summary effects instead
runnetmeta(recid=cid, measure="SMD")



## Not run: If we the following example choosing OR we get an error
runnetmeta(recid=cid, measure="OR")
## End(Not run)

## Not run: As before for a network with binary outcome
bid <- 481216
netb <- readByID(bid)
## Not run: get type and effect
netb$type
netb$effect
runnetmeta(recid=bid, measure="OR")
 
## Not run: Survival outcome
sid <- 479888
nets <- readByID(sid)
## Not run: get type and effect
nets$type
nets$effect
runnetmeta(recid=sid)
 
## Not run: Rate outcome
rid <- 479999
netr <- readByID(rid)
## Not run: get type and effect
netr$type
netr$effect
runnetmeta(recid=rid)

 

[Package nmadb version 1.2.0 Index]