# \donttest{
# Using the triptans data
network <- mbnma.network(triptans)
# Run an Emax dose-response MBNMA and predict responses
emax <- mbnma.run(network, fun=demax(), method="random")
# Plot fitted values and observed values
fitplot(emax)
# Plot fitted values only
fitplot(emax, disp.obs=FALSE)
# A data frame of fitted values can be obtained from the object
#returned by `fitplot`
fits <- fitplot(emax)
head(fits$fv)
# }
Run the code above in your browser using DataLab