mult_grid | R Documentation |
Peculiar version of expand.grid()
for matrices
mult_grid(L)
pair_grid(a,b)
L |
List of matrices |
a , b |
Matrices |
Function pair_grid(a,b)
returns a matrix with each column of
a
cbind()
-ed to each column of b
.
Function mult_grid()
takes a list of matrices; it is designed for
use by ggrl()
.
Robin K. S. Hankin
ggrl
pair_grid(diag(2),diag(3))
mult_grid(lapply(1:4,diag))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.