testStrata {sampleVADIR}R Documentation

Return correlations for demographics between population and sample

Description

Used to evaluate the representativeness of the sample with regard to the population. Males and females evaluated separately.

Usage

testStrata(out, data = NULL, metric = cor, zeros = FALSE)

Arguments

out

Output of sampleVADIR

data

Original VADIR data

metric

Function for measuring similarity between population and sample

zeros

Should empty strata be included?

Value

Similarity values for males and females


[Package sampleVADIR version 1.0.0 Index]