View source: R/norm_density_plot.R
norm_quantile_plot | R Documentation |
A nice demonstration plot of a normal quantile function
norm_quantile_plot( p_1, pop_mean = 0, pop_sd = 1, xmin = 0.001, xmax = 0.999, len = 1000, fill_cdf = rgb(0, 0.3, 0.8, 0.25), digits = 2, lty_density = 2, y_lab = "x", x_lab = "quantile", title_fmt = "quantile: %1$s\nx: %2$s\n" )
p_1 |
p |
pop_mean |
mean of the normal distribution to plot |
pop_sd |
standard deviation of the normal distribution to plot |
xmin |
minimum x value for the plot |
xmax |
maximum x value for the plot |
len |
number of points to calculate for the curve |
fill_cdf |
Color to fill background |
digits |
the number of siginifcant digits to display in the title |
lty_density |
the line type for the density curve |
y_lab |
label for the y-axis |
x_lab |
label for the x-axis |
title_fmt |
The format string, to be passed to sprintf() for the title |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.