Randomize: Randomize geos to groups.

Description Usage Arguments Value

View source: R/randomize.R

Description

Randomize geos to groups.

Randomize geos, assigning geo groups by strata.

Usage

1
2
3
4
5
6
7
8
Randomize(obj, ...)

## S3 method for class 'Geos'
Randomize(obj, n.groups = 2, group.ratios = rep(1, length.out
  = n.groups), ...)

## S3 method for class 'GeoStrata'
Randomize(obj, ...)

Arguments

obj

an object.

...

arguments passed to other methods.

n.groups

(integer) number of groups.

group.ratios

(integer vector of length n.groups) vector of ratios of the sizes of each group. By default each group is assumed to have equal ratios.

Value

A GeoAssignment object.

A GeoAssignment object.


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