# \donttest{
# Make network
alognet <- mb.network(alog_pcfb)
# Run MBNMA
mbnma <- mb.run(alognet, fun=tpoly(degree=2), intercept=FALSE)
# Plot residual deviance contributions in a scatterplot
devplot(mbnma)
# Plot deviance contributions in boxplots at each follow-up measurement
# Monitor for 500 additional iterations
devplot(mbnma, dev.type="dev", plot.type="box", xaxis="fup", n.iter=500)
# }
Run the code above in your browser using DataLab