powered by
This function prints a slice of a matrix
slice(matrix)
A visualization of the first 5 rows and columns of the input matrix
A matrix
set.seed(1) example<-matrix(rnorm(1000),nrow=100,ncol=10) slice(example)
Run the code above in your browser using DataLab