indicator: The performance indicator

Description Usage Arguments Value Examples

View source: R/indicator.R

Description

Calculate the indicator for a vector X and a zero-inflated proportions response proba.

Usage

1
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

1
2
3
4
X = rnorm(100)
proba = runif(100)
proba[sample(1:100,80)]=0
print(indicator(X,proba))

ZIprop documentation built on June 9, 2021, 5:09 p.m.