powered by
Return the First or Last Part of an Object
big.head(x, n = 5, l = 5, r = 5)
An object (usually) like 'x' but generally smaller.
a "data.frame" or a "matrix" object
"data.frame"
"matrix"
a single, positive integer, number of rows for the object to return
a single, positive integer, the number of columns to include on the left
a single, positive integer, the number of columns to include on the right
Pierre Roudier pierre.roudier@gmail.com
Returns the first or last rows of a data frame like head() and tail(), but also only returns the first and last columns. This has been implemented to check big data frames.
head, tail
head
tail
big.head(mtcars) big.tail(mtcars) big.tail(mtcars, 10) big.head(mtcars, 10, 2, 4) big.head(mtcars, , , 1) data(australia) big.head(australia)
Run the code above in your browser using DataLab