cb.sims.covar_generator {causalBatch}R Documentation

Covariate generator function

Description

Covariate generator function

Usage

cb.sims.covar_generator(batches, a1, b1, a2, b2)

Arguments

batches

an n vector, consisting of the batch labels for each of the n samples.

a1

alpha of the first covariate distribution.

b1

beta of the first covariate distribution.

a2

alpha of the second covariate distribution.

b2

beta of the second covariate distribution.

Value

an n vector, consisting of the covariate values for each of the n samples.


[Package causalBatch version 1.2.0 Index]