CountRandomizationsInAStratum: Counts the total numbers of randomization in a single...

Description Usage Arguments Value

View source: R/geostrata.R

Description

Counts the total numbers of randomization in a single stratum.

Usage

1
CountRandomizationsInAStratum(geo.group, group.ratios, log.scale = TRUE)

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.

log.scale

(flag) if TRUE, returns the result on the log.scale.

Value

An integer value that corresponds to the total number of possible randomizations for the stratum represented by geo.group.


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