Description Usage Arguments Value Examples
View source: R/computingGiniRatio.R
Computing Gini ratio using R
1 | giniRatioComputing(n, x, mu)
|
n |
the number of iterations |
x |
the samples of a given varible |
mu |
the mean of the samples |
Gini ratio value
1 2 3 4 5 6 7 8 9 | ## Not run:
n=1000
s=runif(1000)
x=exp(s)
mu=mean(x)
rnR <- giniRatioComputing(n,x,mu)
print(rnR)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.