Description Usage Arguments Details Value Author(s) See Also Examples
Change an mvabund object to a non-mvabund object.
1 | unabund(x)
|
x |
an mvabund object that should be transformed into a matrix. |
unabund
doesn't convert x
but only removes the
mvabund class attribute.
A matrix if x
is an mvabund
object otherwise x
.
Ulrike Naumann and David Warton <David.Warton@unsw.edu.au>.
mvabund
.
as.mvabund
.
is.mvabund
.
1 2 3 4 5 6 | ## Create an mvabund object:
abundances <- as.mvabund(matrix(1:20,5,4))
## Restore the original object:
mat <- unabund(x=abundances)
mat
|
X1 X2 X3 X4
1 1 6 11 16
2 2 7 12 17
3 3 8 13 18
4 4 9 14 19
5 5 10 15 20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.