observe.outcomes: Reveals the observed outcomes.

Description Usage Arguments Value

View source: R/rand-mechanisms.R

Description

Reveals the observed outcomes.

Usage

1
observe.outcomes(Z, A, science)

Arguments

Z

A list of numeric vectors. A group-assignment structure.

A

A numeric vector. A vector of attributes.

science

A matrix. A full schedule of potential outcomes. Its number of rows should equal the length of 'A' and 'Z'. Each column corresponds to a different exposure. For now, exposures should be contiguous integers starting from 0.

Value

A vector of observed outcomes, of the same length as 'A' and 'Z'.


gwb/RGroupFormation documentation built on Sept. 13, 2020, 4:41 p.m.