View source: R/cspa-test-plot.R
| cspa_test_plot | R Documentation |
Visualizes the estimated conditional mean functions \hat{h}_j(x),
their lower envelope, and the confidence bound from the CSPA test.
cspa_test_plot(
object = NULL,
Y = NULL,
X = NULL,
level = 0.05,
trim = 0,
prewhiten = -1L,
preselect = TRUE,
ylab = "Loss Difference",
xlab = "Conditioning Variable"
)
object |
A |
Y |
An |
X |
An |
level |
Significance level (e.g., 0.05). Ignored if |
trim |
Trimming parameter. Default |
prewhiten |
Pre-whitening order. Default |
preselect |
Logical; adaptive inequality selection. Default
|
ylab |
Label for the y-axis. Default |
xlab |
Label for the x-axis. Default |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.