View source: R/plot_qq_marginals.R
plot_qq_marginals | R Documentation |
plot_qq_marginals
creates an enhanced Q-Q plot with the observed and theoretical distributions shown in the margins of the plot.
plot_qq_marginals(
x,
breaks = "Sturges",
newpage = TRUE,
xlab = "Observed Quantiles",
ylab = "Theoretical quantiles",
xlim = grDevices::extendrange(c(min(x), max(x))),
ylim = NULL,
main = NULL,
sub = NULL,
axes = TRUE,
border = TRUE,
...
)
x |
A numeric vector |
breaks |
How to compute breakpoints for the histogram. See ?hist |
newpage |
(logical) Should the plot be plotted on a new page? |
xlab |
Label for x-axis |
ylab |
Label for y-axis |
xlim |
Range of x values shown |
ylim |
Range of y values shown |
main |
Main title |
sub |
Subtitle |
axes |
(logical) Draw axes? |
border |
(logical) Draw a border? |
... |
Further arguments |
No return value. The function adds a plot to the active graphics window.
data(anchoring)
plot_qq_marginals(anchoring$everest_feet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.