see: View the Upper and Left Corners of a Data Frame

View source: R/see.R

seeR Documentation

View the Upper and Left Corners of a Data Frame

Description

Useful for large data frame. View the top-left corner of the specified data frame and the bottom-right corner of the data frame.

Usage

see(data, n_row=min(nrow(data), 5), n_col=min(ncol(data), 8))

Arguments

data

Name of the data frame to view.

n_row

Number of rows to view.

n_col

Number of columns to view.

Details

For the specified number of rows and columns, just view the subset of the data frame in terms of the top-left and the bottom-right.

Value

The subset data frame.

Author(s)

David W. Gerbing (Portland State University; gerbing@pdx.edu)

See Also

Extract.

Examples

d <- Read("Employee", quiet=TRUE)

# view the default top-left and bottom-right four rows and eight columns
see(d)

# view the top-left two rows and bottom-right four columns
see(d, n_row=2, n_col=2)

lessR documentation built on Nov. 12, 2023, 1:08 a.m.