right: Grabs the right side of a data set

View source: R/corner.r

rightR Documentation

Grabs the right side of a data set

Description

Display the right side of a rectangular data set

Usage

right(x, c = 5L, ...)

Arguments

x

The data

c

Number of columns to show

...

Arguments passed on to other functions

Details

Displays the right side of a rectangular data set.

This is a wrapper function for corner

Value

... The left side of the data set that was requested. The size depends on c.

Author(s)

Jared P. Lander www.jaredlander.com

See Also

head tail corner topright bottomleft bottomright topleft topleft

Examples


data(diamonds)
head(diamonds)      # displays all columns
right(diamonds)    # displays all rows and only the last 5 columns


useful documentation built on Oct. 24, 2023, 9:07 a.m.