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)