Description Usage Arguments Value See Also Examples
This function either plots unsmoothed cumulative histogram or returns a data frame that can be used to plot such a cumulative histogram.
1 |
x |
a numeric vector. |
plot |
If this value is true, a plot will be generated. If false, it will return a data frame in which x is the values in the input and cdf is the cumulative fraction. |
type |
type of the plot. It is highly recommended not to use 'p','b' or 'o' if your data is very large. Defaults to 'l'. |
ylab |
ylab. Defaults to 'Cumulative fraction". |
... |
Additional plotting parameters. |
if plot=FALSE, then a data frame is returned. (see argument: plot)
ecdf (stats package)
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.