Description Usage Arguments Value Examples
PDF and CDF for Continuous Random Variables
1 2 |
dist |
Name of continuous probability distribution (one of the follows) ("exp", "gamma", "weibull", "beta", "norm", "t", "chisq", "f") |
lo |
Lower limit of x-axis |
up |
Upper limit of x-axis |
para |
First parameter vector of PDF |
para2 |
Second parameter vector of PDF (if necessary) |
ymax |
Upper limit of y-axis |
mt |
Graph title |
dcol |
Graph color vector (default as follows) c("red", "blue", "orange2", "green4", "purple", "cyan2") |
np |
Number of plot points, Default: 100 |
pos1 |
Legend location of PDF, Default: 'topright' |
pos2 |
Legend location of CDF, Default: 'bottomright' |
xp1 |
Vector of specific x values for PDF (ignore legend) |
xp2 |
Vector of specific x values for CDF (ignore legend) |
None.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.