topright | R Documentation |
Display the top right corner of a rectangular data set
topright(x, r = 5L, c = 5L, ...)
x |
The data |
r |
Number of rows to display |
c |
Number of columns to show |
... |
Arguments passed on to other functions |
Displays the top right corner of a rectangular data set.
This is a wrapper function for corner
... The top right corner of the data set that was requested. The size depends on r and c.
Jared P. Lander www.jaredlander.com
head
tail
corner
topleft
bottomleft
bottomright
left
right
data(diamonds)
head(diamonds) # displays all columns
topright(diamonds) # displays first 5 rows and only the last 5 columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.