Description Usage Arguments Details Value Examples
Plots the simulated data in a FAIRsimulator study
object with treatment effects.
1 2 3 4 5 | plotHAZTreatmentEff(StudyObj,
treatmentNames = unique(unlist(StudyObj$StudyDesignSettings$Treatments)),
treatmentColors = ggplotColours(length(treatmentNames)),
SoCtrt = grep(pattern = "SoC",
unique(unlist(StudyObj$StudyDesignSettings$Treatments))), SoCcol = "black")
|
StudyObj |
A FAIRsimulator |
treatmentNames |
A vector of treatment names. Default is the treatment names assigned at study initialisation. |
treatmentColors |
A vector of colors for the treatment effects. Has to be the same length as the |
SoCtrt |
A vector of indicies for the |
SoCcol |
A vector of color names to assign to the SoC treatment arms. |
Will produce a graph of individual change from cohort baseline HAZ. Treatment effects are visualised by linear regression lines for each treatment group.
A ggplot
object
1 2 3 4 | ## Not run:
plotHAZTreatmentEff(StudyObj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.