Create a line plot with a confidence interval.
Usage
plot_line_average(
data,
x,
y1,
y2,
y3,
breaks,
x_label,
y_label,
y1_colour = "blue",
y2_colour = "red",
y3_colour = "red",
x_lim = NULL,
y_lim = NULL
)
Arguments
- data
Data to plot
- x
x-axis data
- y1
y1 line data - solid
- y2
y2 line data - dashed
- y3
y3 line data - dashed
- breaks
Breaks vector
- x_label
x-axis label
- y_label
y-axis label
- y1_colour
Colour for y1
- y2_colour
Colour for y2
- y3_colour
Colour for y3
- x_lim
x-axis limits as vector e.g. c(0, 0.1)
- y_lim
y-axis limits as vector e.g. c(0, 1.0)