IsStratumCompatibleWithRatios: Checks whether strata are compatible with group.ratios.

Description Usage Arguments Value

View source: R/geostrata.R

Description

Checks whether strata are compatible with group.ratios.

Usage

1
IsStratumCompatibleWithRatios(geo.group, group.ratios)

Arguments

geo.group

(integer vector of length equal to number of geos) a vector of geo group numbers (may be NAs, but zeros are not allowed).

group.ratios

(integer vector of length equal to number of geo groups) vector of ratios of the sizes of each group.

Value

TRUE if geo.group is compatible with group.ratios, i.e. no group has been assigned more geos than what group.ratios allows. FALSE otherwise.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.