View source: R/helper-functions.R
plotHalfT | R Documentation |
Plot the density or distribution function of a
half-t
distribution.
plotHalfT(df = 7, scale = 1, max = 0.999, density = TRUE, add = FALSE, ...)
df |
Degrees of freedom. Positive. Can be non-integer,
and can be |
scale |
Dispersion parameter. |
max |
A quantile, defaulting to 0.999. The x-axis for the plot extends from 0 to this quantile. |
density |
Whether to plot the density function (the default) or the distribution function. |
add |
Whether to add to the current plot. |
... |
Other arguments, passed to functions |
plotHalfT()
plotHalfT(df = 4, add = TRUE, col = "red")
plotHalfT(df = 4, scale = 1.1, add = TRUE, col = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.