| knots.ewcdf | R Documentation |
Extract the knots (jump points) of an empirical cumulative distribution function.
## S3 method for class 'ewcdf'
knots(Fn, ...)
## S3 method for class 'ecdf'
knots(Fn, ...)
Fn |
An empirical cumulative distribution function
(object of class |
... |
Ignored. |
The function knots is generic.
The function knots.ecdf is the method for the class "ecdf"
of empirical cumulative distribution functions; objects of this class
are created by ecdf).
The function knots.ewcdf is the method for
the class "ewcdf" of empirical weighted cumulative
distribution functions. Objects of class "ewcdf"
are created by ewcdf.
The jump points (locations of increments) of the function Fn
will be returned as a numeric vector.
Numeric vector.
.
ecdf,
ewcdf, quantile.ewcdf
x <- c(1, 2, 5)
w <- runif(3)
e <- ewcdf(x,w)
knots(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.