autoplot.S4BuyseTest {BuyseTest} | R Documentation |
Graphical Display for GPC
Description
Graphical display of the percentage of favorable, unfavorable, neutral, and uninformative pairs per endpoint.
Usage
## S3 method for class 'S4BuyseTest'
autoplot(
object,
type = "hist",
strata = "global",
endpoint = NULL,
label.strata = NULL,
label.endpoint = NULL,
color = c("#7CAE00", "#F8766D", "#C77CFF", "#00BFC4"),
...
)
Arguments
object |
an R object of class |
type |
[character] type of plot: histogram ( |
strata |
[character vector] strata(s) relative to which the percentage should be displayed. |
endpoint |
[character vector] endpoint(s) relative to which the percentage should be displayed. |
label.strata |
[character vector] new labels for the strata levels. Should match the length of argument |
label.endpoint |
[character vector] new labels for the endpoints. Should match the length of argument |
color |
[character vector] colors used to display the percentages for each type of pair. |
... |
not used, for compatibility with the generic function. |
Value
a ggplot object.