Learn R Programming

simPop (version 1.2.1)

kishFactor: Kish Factor

Description

Compute the kish factor for a specific weight vector

Usage

kishFactor(w)

Value

The function will return the the kish factor

Arguments

w

a numeric vector with weights

Author

Alexander Kowarik

Examples

Run this code
kishFactor(rep(1,10))
kishFactor(rlnorm(10))

Run the code above in your browser using DataLab