gen_rand_order {crctStepdown}R Documentation

Function to generate a stepped-wedge cRCT randomisation allocation

Description

Function to generate a stepped-wedge cRCT randomisation allocation. Assumes a baseline and endline period in which no clusters and all clusters have the intervention, respectively.

Usage

gen_rand_order(nJ, nT)

Arguments

nJ

Number of clusters

nT

Number of time points

Value

A data frame with columns cl and t indicating the time


[Package crctStepdown version 0.2.1 Index]