compute_cdf | R Documentation |
Computes the empirical CDF of the data.
compute_cdf(Y, grid, w = NULL)
Y |
(matrix): n x 1 matrix of observed data. |
grid |
(matrix): Grid of values to compute the CDF at. |
w |
(vector, optional): n-vector of sample weights. |
(list): Empirical CDF and its standard deviation at the specified grid points.
Y <- c(1, 2, 3, 4, 5)
grid <- seq(0, 6, by = 0.5)
compute_cdf(Y, grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.