twintable | R Documentation |
Prints a community table of pseudospecies ordered by
twinspan
classification.
twintable(object, maxspp, goodspecies, subset)
object |
|
maxspp |
Maximum number of most abundant species displayed. The abundance is estimated with pseudospecies cut levels. The default is to show all species. |
goodspecies |
Select “good species” for
tabulation. These are either species that were used as
indicator pseudospecies ( |
subset |
Select a subset of quadrats. |
Function prints a compact community table of pseudospecies
values. The table is ordered by clustering both species and
quadrats similarly as in summary.twinspan
or in plot
of as.dendrogram.twinspan
. The classification of each
quadrat and species is shown by a sequence of 0
and 1
indicating division of each level. This string is binary
presentation of the decimal class number without the leading
1
.
Only one character is used for each abundance, and the table is
very compact. However, large tables can be divided over several
pages or screen windows. The width of the displayed table is
controlled by R option width
(see
options
). It is possible to select only a
subset
of the quadrats for tabulation giving narrower
tables. The number of species can be reduced by setting the maximum
number of most abundant species, or alternatively, by restricting
tabulation only to “good species” which are the most
abundant species of each species group (ties broken by species
frequency), or species used as indicators, or both.
Function returns invisibly the data that
vegemite
used. This data can also be
exported or used as any other data set.
data(ahti)
tw <- twinspan(ahti)
## complete table would be large, but we show subset of group 4
twintable(tw, subset = twingroup(tw, 4), goodspecies = "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.