headm: Return the first part of a matrix or data frame

View source: R/headm.R

headmR Documentation

Return the first part of a matrix or data frame

Description

Function headm returns the first part and the dimension of a matrixor data frame.

Usage


headm(X)

Arguments

X

A n x p matrix or data frame.

Value

See the example.

Examples


n <- 1000
p <- 200
X <- matrix(rnorm(n * p), nrow = n)

headm(X)


mlesnoff/rnirs documentation built on April 24, 2023, 4:17 a.m.