cont.cdf | R Documentation |
Cumulative Distribution Function of a Continuous Random Variable
cont.cdf(FUN, low, up, xs, mt, dig = 4, pos = "bottomright")
FUN |
Probability density function |
low |
Lower limit of x-axis |
up |
Upper limit of x-axis |
xs |
Specific values of X for displaying the probability |
mt |
Graph Title of the CDF |
dig |
Number of digits below the decimal point, Default: 4 |
pos |
Legend location, Default: 'bottomright' |
None.
pdf = function(x) 2*exp(-2*x)*(x>0) cont.cdf(pdf, low=-1, up=3, xs=c((1:5)*0.2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.