plot.maq | R Documentation |
Plot the estimated curve Q(B), B \in (0, B_{max}]
. If the underlying estimated policy
\pi_B
entails treating zero units (that is, all the estimated treatment effects are
negative) then this function returns an empty value.
## S3 method for class 'maq'
plot(
x,
...,
add = FALSE,
horizontal.line = TRUE,
ci.args = list(),
grid.step = NULL
)
x |
A maq object. |
... |
Additional arguments passed to plot. |
add |
Whether to add to an already existing plot. Default is FALSE. |
horizontal.line |
Whether to draw a horizontal line where the Qini curve plateaus.
Only applies if the maq object is fit with a maximum |
ci.args |
A list of optional arguments to |
grid.step |
The spend grid increment size to plot the curve on. Default is
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.