indicator {ZIprop} | R Documentation |
The performance indicator
Description
Calculate the indicator for a vector X
and a zero-inflated proportions response proba
.
Usage
indicator(X, proba)
Arguments
X |
a vector. |
proba |
a zero-inflated proportions response. |
Value
a scalar represents the performance indicator
and the vector proba
.
Examples
X = rnorm(100)
proba = runif(100)
proba[sample(1:100,80)]=0
print(indicator(X,proba))
[Package ZIprop version 0.1.1 Index]