head_matrix | R Documentation |
head and tail for matrices
head2(x, n = 6, m = n)
tail2(x, n = 6, m = n)
x |
matrix |
n , m |
number of rows and columns |
M <- matrix(1:20, nrow=4)
head2(M)
head2(M, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.