Learn R Programming

rchemo (version 0.1-3)

headm: Display of the first part of a data set

Description

Function headm displays the first part and the dimension of a data set.

Usage

headm(X)

Value

first 6 rows and columns of a dataset, number of rows, number of columns, dataset class.

Arguments

X

A matrix or dataframe.

Examples

Run this code

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

headm(X)

Run the code above in your browser using DataLab