View source: R/class_event_probabilities.R
plot.NumberOfSubjects | R Documentation |
Plots an object that inherits from class NumberOfSubjects
.
## S3 method for class 'NumberOfSubjects'
plot(
x,
y,
...,
allocationRatioPlanned = NA_real_,
main = NA_character_,
xlab = NA_character_,
ylab = NA_character_,
type = 1L,
legendTitle = NA_character_,
palette = "Set1",
plotPointsEnabled = NA,
legendPosition = NA_integer_,
showSource = FALSE,
plotSettings = NULL
)
x |
The object that inherits from |
y |
An optional object that inherits from |
... |
Optional plot arguments. At the moment |
allocationRatioPlanned |
The planned allocation ratio |
main |
The main title. |
xlab |
The x-axis label. |
ylab |
The y-axis label. |
type |
The plot type (default = 1). Note that at the moment only one type is available. |
legendTitle |
The legend title, default is |
palette |
The palette, default is |
plotPointsEnabled |
Logical. If |
legendPosition |
The position of the legend.
By default (
|
showSource |
Logical. If
Note: no plot object will be returned if |
plotSettings |
An object of class |
Generic function to plot an "number of subjects" object.
Generic function to plot a "number of subjects" object.
Returns a ggplot2
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.