line_plot.Rd
Performs a descriptive line graph with standard deviation bars
line_plot(
time,
response,
factor = NA,
errorbar = "sd",
ylab = "Response",
xlab = "Time",
legend.position = "right",
theme = theme_classic()
)
Vector containing the x-axis values
Vector containing the y-axis values
Vector containing a categorical factor
Error bars (sd or se)
y axis title
x axis title
Legend position
ggplot2 theme (default is theme_classic())
Returns a line chart with error bars