topleft | R Documentation |
Display the top left corner of a rectangular data set
topleft(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 left corner of a rectangular data set.
This is a wrapper function for corner
... The top left corner of the data set that was requested. The size depends on r and c.
Jared P. Lander www.jaredlander.com
head
tail
corner
topright
bottomleft
bottomright
left
right
data(diamonds)
head(diamonds) # displays all columns
topleft(diamonds) # displays first 5 rows and only the first 5 columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.