construct_DesMat: construct_DesMat

Description Usage Arguments Value Examples

View source: R/construct_DesMat.R

Description

constructs the design matrix.

Usage

1
2
construct_DesMat(Cl, delay = NULL, design = "SWD",
  timepoints = timepoints)

Arguments

Cl

integer (vector), number of clusters per wave (in SWD)

delay

*not implemented*

timepoints

numeric, scalar

Value

a matrix (for a stepped wedge design)

Examples

1
construct_DesMat(Cl=c(2,0,1))

PMildenb/SteppedPower documentation built on Dec. 7, 2018, 7:59 a.m.