W.star.fn: Computes the exposures associated with room assignments.

Description Usage Arguments Value

View source: R/rand-mechanisms.R

Description

Computes the exposures associated with room assignments.

Usage

1
W.star.fn(L, A)

Arguments

L

A room assignment vector or matrix.

A

An attribute vector.

Value

If 'L' is a vector, returns an exposure vector. If 'L' is a matrix, returns a matrix whose rows are exposure vectors.


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