head.morphodata | R Documentation |
Returns the first or last parts of a object.
## S3 method for class 'classifdata'
head(x, n = 6, ...)
## S3 method for class 'classifdata'
tail(x, n = 6, ...)
## S3 method for class 'morphodata'
head(x, n = 6, ...)
## S3 method for class 'morphodata'
tail(x, n = 6, ...)
x |
an object of class |
n |
number of rows to print. |
... |
arguments to be passed to or from other methods. |
Object passed as parameter is formated to data.frame
. A head()
(tail()
) returns the first (last) n
rows when n
>= 0 or all but the last (first) n
rows when n
< 0.
A data.frame
, containing the first or last n
individuals of the passed object.
data(centaurea)
head(centaurea)
tail(centaurea)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.