giniRatioComputing: Computing Gini ratio using R

Description Usage Arguments Value Examples

View source: R/computingGiniRatio.R

Description

Computing Gini ratio using R

Usage

1

Arguments

n

the number of iterations

x

the samples of a given varible

mu

the mean of the samples

Value

Gini ratio value

Examples

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)

mrjinyx/StatComp18001 documentation built on May 19, 2019, 6:22 p.m.