This function produces a q-q plot of sample quantiles against theoretical quantiles for a truncated random variable
1 2 3 4 |
x |
A numeric vector of sample values |
spec |
A character vector for the name of the distribution (e.g., "norm") |
a |
The minimum value allowed in the distribution (inclusive). |
b |
The maximum value allowed in the distribution (inclusive). |
title |
Plot title |
xlabel |
Label for the X-axis |
ylabel |
Label for the Y-axis |
params |
A list of distribution parameter name/value pairs |
... |
Distribution parameter arguments. Only used if 'params' is NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.