split_sd: split_sd

Description Usage Arguments Value

View source: R/BinomialWrapper.R

Description

small helper function for wlsGlmmPower. returns sd_0 for periods in control and sd_1 for interventional periods for each cluster.

Usage

1
split_sd(trtvec, sd)

Arguments

trtvec

a vector

sd

vector of length 2 (or 3).

Value

numeric, scalar.


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