head_matrix {doBy} | R Documentation |
head and tail for matrices
Description
head and tail for matrices
Usage
head2(x, n = 6, m = n)
tail2(x, n = 6, m = n)
Arguments
x |
matrix |
n , m |
number of rows and columns |
Examples
M <- matrix(1:20, nrow=4)
head2(M)
head2(M, 2)
[Package doBy version 4.7.0 Index]