Description Usage Arguments Value Examples
View source: R/design_contrast.R
Check dimensionality of design matrix
1 | assertDesign(nsample, design)
|
nsample |
Integer, number of samples |
design |
Design matrix |
Side effect is used: the function stops if sample size does not equal ncol(matrix)
1 2 3 | nsample <- 4
design <- matrix(1:20, ncol=5)
assertDesign(nsample, design)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.