graycode: Return the graycode matrix

View source: R/RcppExports.R

graycodeR Documentation

Return the graycode matrix

Description

Return the graycode matrix

Usage

graycode(varying, fixed)

Arguments

varying

The number of covariates varying in the graycode matrix

fixed

The number of fixed covariates in the graycode matrix. These covariates will always be included

Value

The graycode matrix. The number of fixed columns will be included in the //' lower indexed columns as 1s, while the higher indexed columns will varying depending on whether each covariate in the varying set of covariates is included or not.


certifiedwaif/blma documentation built on July 8, 2023, 10:29 p.m.