powered by
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.
.obs
expand_matrix(.matrix, .obs)
The matrix of observations to be expanded.
The number of observations to generate per cluster.
# NOT RUN { mat = matrix( seq(1:10), nrow=2, byrow=FALSE) expand_matrix(mat, 4) # }
Run the code above in your browser using DataLab