Description Usage Arguments Value Methods Note Author(s) See Also Examples
Returns the first or last parts of the species matrix.
1 2 3 4 5 6 |
x |
An object inheriting from class |
n |
A single integer. If positive, size for the resulting object. If negative,
all but the n last/first number of elements of x. defaults to |
choice |
Display the first rows of the species matrix ( |
typeof |
If choice is “species” of which mode should the returned matrix be
reported (see |
... |
Passed to functions. |
An object like as.matrix(x) but generally smaller.
signature(obj = "Vegsoup") head() (tail()) returns the first (last) n rows of
the community matrix when choice = "species" and the
n rows of the sites data frame.
signature(obj = "VegsoupPartition") If n != 6L the method prints the typal
(typal) sample for each partition, with the number of rows
equaling getK(x). If n is left as the default the
behaviour is the same as defined for class Vegsoup.
Call the method with named arguments ('choice' respectively
'typeof'). See ‘Examples’.
Roland Kaiser
as.matrix and typal in package vegsoup
head and tail in package utils.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.