Description Usage Arguments Value Author(s) See Also Examples
View source: R/lets_subsetPAM.R
Subset a PresenceAbsence object based on species character vector provided by the user.
1 | lets.subsetPAM(x, names, remove.cells = TRUE)
|
x |
A |
names |
Character vector with species names to subset the |
remove.cells |
Logical, if |
The result is an object of class PresenceAbsence subseted.
Bruno Vilela
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data(PAM)
# PAM before subset
plot(PAM, xlab = "Longitude", ylab = "Latitude",
main = "Phyllomedusa species richness")
# Subset PAM to the first 20 species
PAMsub <- lets.subsetPAM(PAM, PAM[[3]][1:20])
plot(PAMsub, xlab = "Longitude", ylab = "Latitude",
main = "Phyllomedusa species richness")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.