split_vector | R Documentation |
splits a vector into a list of vectors, each containing a specified number of vectors of the orignal matrix
split_vector(b, nvar)
b |
vector to be split |
nvar |
vector of integers saying how many columns of b to include in each |
b = c(rep(1,3),rep(2,4),rep(3,3))
split_vector(b,c(3,4,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.