CountRandomizations: Counts the total numbers of randomizations in a GeoStrata...

Description Usage Arguments Value Note

View source: R/geostrata.R

Description

Counts the total numbers of randomizations in a GeoStrata object.

Usage

1
CountRandomizations(geostrata, show.warnings = TRUE, log.scale = FALSE)

Arguments

geostrata

a GeoStrata object.

show.warnings

(flag) if TRUE, shows a warning when a stratum is not compatible with the group.ratios.

log.scale

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

Value

An integer vector of the same length as the number of strata in geostrata (excluding stratum 0, if it exists). The i-th coordinate corresponds to the total number of possible randomizations for the i-th stratum.

Note

A warning is issued if one or more of the stratas are not compatible with the group.ratios.


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