bio_treatmentGroups: Function to compare two treatment groups

View source: R/bio_treatmentGroups.R

bio_treatmentGroupsR Documentation

Function to compare two treatment groups

Description

This function plots a line graph comparing two treatment groups over time

Usage

bio_treatmentGroups(
  df,
  group.col,
  y.col = "y",
  x.col = "x",
  id.col = "id",
  main = "",
  cols = NULL,
  p.col = "maroon"
)

Arguments

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


KatrionaGoldmann/BioOutputs documentation built on May 21, 2022, 1:24 p.m.