powered by
Display the top right corner of a rectangular data set
topright(x, r = 5L, c = 5L, ...)
... The top right corner of the data set that was requested. The size depends on r and c.
The data
Number of rows to display
Number of columns to show
Arguments passed on to other functions
Jared P. Lander www.jaredlander.com
Displays the top right corner of a rectangular data set.
This is a wrapper function for corner
corner
head tail corner topleft bottomleft bottomright left right
head
tail
topleft
bottomleft
bottomright
left
right
data(diamonds) head(diamonds) # displays all columns topright(diamonds) # displays first 5 rows and only the last 5 columns
Run the code above in your browser using DataLab