How to make read.mtc.network work?

I am trying to read a network data by running following code, but the error message reminds the function not available. Does extra package need to be install? Thank you!

here is the error message:
Error in read.mtc.network(sysfile) :
could not find function "read.mtc.network"

library(coda)
library(gemtc)

sysfile <- system.file('extdata/luades-smoking.gemtc', package='gemtc')
net <- read.mtc.network(sysfile)

It looks like an older version of the gemtc package has the function nead.mtv.network

https://www.rdocumentation.org/packages/gemtc/versions/0.8-8

How to install this version of package? Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.