bin | R Documentation |
Function for calculating presence-absence from a vector. It does not take into account NA
.
bin(x)
x |
A vector of numbers. |
# There is at least a presence
bin(c(0, 1, 10))
# There are not presence
bin(c(0, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.