Description Usage Arguments Value See Also
Plot Gaussian Process Regression for Regression Discontinuity
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
A object of class |
from |
The lowest x value to plot prediction for.
The default, "data_min", uses the lowest forcing variable observed value.
If both |
to |
The highest x value to plot prediction for.
The default "data_max" uses the largest forcing variable observed value.
If both |
n_points |
An integer vector of length one giving the number of
prediction points to plot; if |
ci_width |
A numeric vector of length one between 0 and 1 giving the width of the confidence interval for tau |
data_color |
A color to plot the data points in |
line_color |
A color to plot the predictive mean line in |
ci_color |
A color to plot the CI polygon in |
plot_cutoff |
A logical vector of length one; if |
main_title |
A character vector of length one giving a main title for the plot |
xlab |
A character vector of length one giving a title for the x axis |
ylab |
A character vector of length one giving a title for the y axis |
... |
Other arguments passed to |
Returns NULL
invisibly
gprd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.