Description Usage Arguments Examples
An internal function not intended for the user. Given a matrix of single observations
for a cluster, repeats each cluster's entry in each .obs
times.
1 | expand_matrix(.matrix, .obs)
|
.matrix |
The matrix of observations to be expanded. |
.obs |
The number of observations to generate per cluster. |
1 2 | mat = matrix( seq(1:10), nrow=2, byrow=FALSE)
expand_matrix(mat, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.