powered by
This function transforms a categorical vector into a matrix of indicators.
disj(strata)
A matrix of indicators.
A vector of integers that represents the categories.
Raphaël Jauslin raphael.jauslin@unine.ch
strata <- rep(c(1,2,3),each = 4) disj(strata)
Run the code above in your browser using DataLab