Releases: kamapu/vegtable
vegtable 0.1.8
Handling Vegetation Data Sets
v0.1.6 Merge remote-tracking branch 'origin/miguel'
Handling Vegetation Data Sets
A new interesting feature is the function count_taxa()
, which is already defined in the last version of the package taxlist
.
Thus for counting taxa in the taxonomic list included in an object of class vegtable
, than try:
library(vegtable)
count_taxa(Kenya_veg@species)
count_taxa(Kenya_veg@species, level="species")
The same function applied to the whole object will only consider records of taxa in the plot observations:
count_taxa(Kenya_veg)
count_taxa(Kenya_veg, level="species")
count_taxa(Kenya_veg, level="species", include_lower=TRUE)
And last but not least, statistics per plot can be calculated by using the formula
method:
count_taxa(species ~ ReleveID, data=Kenya_veg[1:5,], include_lower=TRUE)
count_taxa(genus ~ ReleveID, data=Kenya_veg[1:5,], include_lower=TRUE)
count_taxa(family ~ ReleveID, data=Kenya_veg[1:5,], include_lower=TRUE)
Handling Vegetation Data Sets
v0.1.3 Adaptations to missing method fro 'levels'
Adapted to new 'taxlist' version
This version is adapted to current version of package taxlist
v0.1.4.
Newest CRAN version
New features in vegtable:
- function
subset
also working in slots of includedtaxlist
object
data(Kenya_veg)
Ochna <- subset(Kenya_veg, grepl("Ochna insculpta", TaxonName), slot="taxonNames")
summary(Ochna)
- function
clean
does not touch slotspecies
- function
crosstable
access also to taxon traits
Cross <- transform(Kenya_veg, to="percentage")
Cross <- crosstable(percentage ~ ReleveID + GENUS, Cross, sum, na_to_zero=TRUE)
- a method for function
aggregate
Table <- aggregate(ReleveID ~ AcceptedName, Kenya_veg, length)
head(Table[order(Table$ReleveID, decreasing=TRUE),])
-
new argument
use_nas
for functioncrosstable
-
slot
layers
added tovegtable
objects
slotNames(Kenya_veg)
First version on CRAN
For more details, visit https://github.com/kamapu/vegtable/.
Some applications are also available at https://kamapu.github.io/workshops_freiburg_2017.html.
For the installation of last CRAN version:
install.packages("vegtable", dependencies=TRUE)
vegtables: preliminary release
vegtables is an R-package to load and handle data from Turboveg databases.