Learn R Programming

Tmisc (version 0.1.22)

corner: Print the top left corner of a data frame

Description

Prints the first n rows and columns of a data frame or matrix.

Usage

corner(x, n = 5)

Arguments

x

A data.frame.

n

The number of rows/columns to print.

Value

The corner of the data frame

Examples

Run this code
# NOT RUN {
corner(mtcars)
corner(iris, n=4)

# }

Run the code above in your browser using DataLab