head_matrix: head and tail for matrices

head_matrixR 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)

doBy documentation built on June 30, 2025, 1:06 a.m.