Graph: Line chart
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() )
time
: Vector containing the x-axis valuesresponse
: Vector containing the y-axis valuesfactor
: Vector containing a categorical factorerrorbar
: Error bars (sd or se)ylab
: y axis titlexlab
: x axis titlelegend.position
: Legend positiontheme
: ggplot2 theme (default is theme_classic())Returns a line chart with error bars
dose=rep(c(0,2,4,6,8,10),e=3,2) resp=c(seq(1,18,1),seq(2,19,1)) fator=rep(c("A","B"),e=18) line_plot(dose,resp,fator)
radargraph , sk_graph , plot_TH , corgraph , spider_graph
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
Useful links