get_weights: Function to calculate the inverse of the probability of an...

Description Usage Arguments Value Examples

View source: R/23-calculate_weights.R

Description

Function to calculate the inverse of the probability of an individual being sampled in the population

Usage

1
get_weights(n, N, m, c)

Arguments

n

Population size of cluster

N

Total population

m

Number of clusters

c

Number of individuals to be sampled in a cluster

Value

Numeric value of inverse probability weight

Examples

1
get_weights(n = 1028, N = 20000, m = 30, c = 300)

validmeasures/myanmarMCCTdata documentation built on March 29, 2020, 10:27 p.m.