Calling example("example_smk_nodesplit") will run node-splitting models with the smoking cessation data, using the code in the Examples section below. The resulting nma_nodesplit_df object smk_fit_RE_nodesplit will then be available in the global environment.
Details
Smoking node-splitting for use in examples.
Examples
# Set up network of smoking cessation datahead(smoking)smk_net <- set_agd_arm(smoking, study = studyn, trt = trtc, r = r, n = n, trt_ref ="No intervention")# Print detailssmk_net
# Fitting all possible node-splitting modelssmk_fit_RE_nodesplit <- nma(smk_net, consistency ="nodesplit", trt_effects ="random", prior_intercept = normal(scale =100), prior_trt = normal(scale =100), prior_het = normal(scale =5))