mhead: Head of a matrix

Description Usage Arguments Examples

View source: R/mhead.R

Description

This function makes it easier to show the head of a matrix object without all the columns. It takes a matrix object and a number and show the given number of rows and columns

Usage

1
mhead(given_object, n = 5)

Arguments

given_object

a matrix object

n

an integer number of the number of rows and columns to show

Examples

1
2
m <- matrix(rnorm(1000), ncol = 1000)
mhead(m)

Rekyt/divr documentation built on April 1, 2020, 5:35 a.m.