plot.drord {drord} | R Documentation |
"drord"
object.Print the output of a "drord"
object.
## S3 method for class 'drord'
plot(
x,
treat_labels = c(1, 0),
dist = "pmf",
out_labels = if (dist == "pmf") { x$out_levels } else {
x$out_levels[-length(x$out_levels)] },
...
)
x |
A |
treat_labels |
Labels for the treatment variables (treat = 1 followed by treat = 0). |
dist |
Which distribution to plot. Valid options are |
out_labels |
Labels for the ordered outcome levels. If |
... |
Other arguments (not used) |
A list with named entries plot
(a ggplot2
object) and plot_data
,
the data.frame
from which the plot is made. The latter is included for additional
modifications to the plot that are desired.