Convert between representations of a one-way anova with $m$ treatments and $T$ measurements. The vector representation is a T-length integer vector with m distinct integers. The matrix representation is a T by m matrix with a 1 at i,j indicating the i'th measurement belongs to the j'th treatment.
1 2 3
An integer vector of length T with m distinct non-zero integers. 0 indicates measurements should be discarded.
A 0-1 matrix with T rows, m columns.
designVec2Mat() is called within getAveraging .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.