Welcome! SGtraits
is an R package to interface with the functional trait
database of the Singapore flora. Please bear in mind that it is still under
development, so some metadata and error checking may still be missing.
SGtraits
is still under development. To install the current version from
GitHub:
# install.packages("remotes")
remotes::install_github("hrlai/SGtraits", dependencies = TRUE, upgrade = "ask")
# Load the package
library(SGtraits)
Currently, it is a wrapper around the austraits
package, so you can find most
of the documentation and help from their
website.
The only function in SGtraits
that differ from austraits
is load_database
,
which loads our database:
SGtraits <- load_database(version = "0.0.2", path = "data/SGtraits")
Once you have loaded our trait database, simply
follow the rest of the tutorial
in austraits
to explore the database.
Coming soon.
Thank you for finding it! Head over to the GitHub Issues tab and let us know about it! We will try to get to it as soon as we can!