ecdf.inv | R Documentation |
Obtaining the inverse of marginal empirical cumulative distribution (ECDF)
ecdf.inv(x, p, sort.flag = TRUE)
x |
A vector of numbers which is the marginal empirical data. |
p |
A vector of numbers which is the probability of the simulated data. |
sort.flag |
A logical value to specify whether to sort the output data. |
The inverse values of p
based on ECDF of x
.
ecdf.inv(0:10, c(0.25, 0.75)) ecdf.inv(0:10, c(0.25, 0.75), FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.