Graphical display of the percentage of favorable, unfavorable, neutral, and uninformative pairs per endpoint.
# S3 method for S4BuyseTest
autoplot(
object,
type = "hist",
strata = "global",
endpoint = NULL,
label.strata = NULL,
label.endpoint = NULL,
color = c("#7CAE00", "#F8766D", "#C77CFF", "#00BFC4"),
...
)a ggplot object.
an R object of class S4BuyseTest, i.e., output of BuyseTest
[character] type of plot: histogram ("hist"), pie chart ("pie"), or nested pie charts ("racetrack").
[character vector] strata(s) relative to which the percentage should be displayed.
[character vector] endpoint(s) relative to which the percentage should be displayed.
[character vector] new labels for the strata levels. Should match the length of argument strata.
[character vector] new labels for the endpoints. Should match the length of argument endpoint.
[character vector] colors used to display the percentages for each type of pair.
not used, for compatibility with the generic function.