How to solve no applicable method for forest applied to an object of class mtc result
0
0
Entering edit mode
7.6 years ago
524129693 ▴ 20

I'm doing network meta analysis. The code:

library(lattice)
library(coda)
library(codetools)
library(gemtc)
library(R2OpenBUGS)
library(igraph)
library(meta)
fileName <- system.file('extdata/luades-smoking.gemtc',package='gemtc')
network <- read.mtc.network(fileName)
model <- mtc.model(network)
result <- mtc.run(model)
forest(result)
Error in UseMethod("forest") : 
  no applicable method for 'forest' applied to an object of class "mtc.result"

How to solveļ¼šno applicable method for 'forest' applied to an object of class "mtc.result" ?

R • 4.2k views
ADD COMMENT
0
Entering edit mode

I also have the same problem!

ADD REPLY

Login before adding your answer.

Traffic: 2633 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6