design2factor | R Documentation |
Transform design matrix to factor
design2factor(design)
design |
design matrix |
factor
## Not run:
design <- matrix(data = c(1, 1, 0, 0, 0, 0, 1, 1),
nrow = 4,
ncol = 2,
dimnames = list(c(paste("sample", 1:4)), c("gr1", "gr2")))
design2factor(design)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.