# NOT RUN {
# Select a scenario (from list of scenarios):
s1 <- scenarios$n1 # select scenario 1 from scenarios
plot(s1) # default plot (type = "prism")
# Plot types currently available:
plot(s1, type = "prism") # prism/network diagram (default)
plot(s1, type = "tree", by = "cd") # tree diagram (only 1 perspective)
plot(s1, type = "area") # area/mosaic plot
plot(s1, type = "tab") # 2x2 frequency/contingency table
plot(s1, type = "bar", dir = 2) # bar plot
plot(s1, type = "icons") # icon array
plot(s1, type = "curve", what = "all") # curves as fn. of prev
plot(s1, type = "plane", what = "NPV") # plane as function of sens & spec
plot(s1, type = "default") # unknown type: use default plot
# }
Run the code above in your browser using DataLab