| apply_scales_and_guides | R Documentation |
Apply colour and linetype scales
apply_scales_and_guides(
p,
col,
linetype = NULL,
stratalabs,
eventlabs = NULL,
multiple_lines,
plot.event = 1,
event = "col"
)
p |
ggplot object |
col |
colours vector |
linetype |
Line types vector |
stratalabs |
Strata labels |
eventlabs |
Event labels |
multiple_lines |
Whether multiple strata |
plot.event |
Events being plotted |
event |
How events are distinguished |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.