Plot a pte_qtt object.
For type = "overall": QTT curve with quantile on the x-axis.
For type = "dynamic": event-study plot with event time on the x-axis.
Each selected quantile is a separate colored line. CIs are shown by default
when a single quantile is plotted, and suppressed by default when multiple
quantiles are plotted.
Usage
# S3 method for class 'pte_qtt'
autoplot(
object,
type = "overall",
cband = TRUE,
plot_probs = 0.5,
plot_ci = NULL,
...
)Arguments
- object
a
pte_qttobject- type
which aggregation to plot:
"overall"(default) or"dynamic"."group"is a stub.- cband
logical; if
TRUE(default), show uniform confidence band; ifFALSE, show pointwise intervals. Applies when CIs are displayed.- plot_probs
numeric vector of quantile levels to show in the dynamic plot. Defaults to
0.5(median). All values must be present inobject$dynamic$probs.- plot_ci
logical or
NULL. IfNULL(default), CIs are shown whenlength(plot_probs) == 1and suppressed otherwise. SetTRUEto always show CIs,FALSEto never show them.- ...
unused
