# NOT RUN {
# basic graph
ggslopegraph2(cancer2, Year, Survival, Type,
title = "Estimates of Percent Survival Rates")
# with further customization
ggslopegraph2(cancer2, Year, Survival, Type,
title = "Estimates of Percent Survival Rates",
linecolor = "black",
linethickness = 1,
subtitle = NULL,
caption = NULL)
# demonstrating linecolor recyclng
ggslopegraph2(cancer2, Year, Survival, Type,
title = "Estimates of Percent Survival Rates",
subtitle = "Based on: Edward Tufte, Beautiful Evidence, 174, 176.",
caption = "https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk",
linecolor = c("black", "red", "grey"),
linethickness = .5)
# }
Run the code above in your browser using DataLab