getmatcolfromlist | R Documentation |
getmatcolfromlist One often has a list of matrices
getmatcolfromlist(x, columname)
x |
a list of 2d matrices |
columname |
the name of the row or column to be extracted |
a list of the required columns
y <- matrix(rnorm(100,mean=5,sd=1),nrow=10,ncol=10,
dimnames=list(paste0(1:10,"R"),paste0(1:10,"C")))
x <- list(one=y,two=y)
getmatcolfromlist(x,columname="5R")
getmatcolfromlist(x,columname="4C")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.