View source: R/bio_treatmentGroups.R
bio_treatmentGroups | R Documentation |
This function plots a line graph comparing two treatment groups over time
bio_treatmentGroups( df, group.col, y.col = "y", x.col = "x", id.col = "id", main = "", cols = NULL, p.col = "maroon" )
df |
Data frame containing the data for both groups |
group.col |
Column name which corresponding to the group of values in df |
y.col |
Column name corresponding to the y-axis values in df |
x.col |
Column name corresponding to the x-axis values in df |
id.col |
Column name which corresponds to subject ID |
main |
Title of pot |
cols |
Character vector for colours of lines |
p.col |
Colour of p-value text |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.