testStrata: Return correlations for demographics between population and...

Description Usage Arguments Value

View source: R/testStrata.R

Description

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

Usage

1
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


sampleVADIR documentation built on Oct. 27, 2021, 5:08 p.m.