novelforestsg

Data and model from the novel forests of Singapore

https://github.com/hrlai/novelforestsg

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.7%) to scientific vocabulary

Keywords

data diversity ecology forest singapore
Last synced: 6 months ago · JSON representation

Repository

Data and model from the novel forests of Singapore

Basic Info
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 7
Topics
data diversity ecology forest singapore
Created over 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.Rmd

---
title: "Data and Model from the Novel Forests of Singapore"
output: github_document
---




[![](https://www.r-pkg.org/badges/version/novelforestSG?color=orange)](https://cran.r-project.org/package=novelforestSG)
[![](https://img.shields.io/badge/devel%20version-2.1.0-orange.svg)](https://github.com/hrlai/novelforestSG)
[![License: CC
BY 4.0](https://img.shields.io/badge/license-CC%20BY%204.0-blue.svg)](https://github.com/hrlai/novelforestSG/blob/master/LICENSE.md)
[![R-CMD-check](https://github.com/hrlai/novelforestSG/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hrlai/novelforestSG/actions/workflows/R-CMD-check.yaml)


# About

Welcome to the `R` package `novelforestSG`! It contains the raw forest community data used in Lai et al. (2021) and Neo et al. (2017).

In addition, it provides a `download_model()` function to download the `brms` model fitted in Lai et al. (2021). This model object also contains input data that include the environmental/landscape variables of the 97 forest plots analysed by Lai et al. (2021). However, this does not include three plots in Neo et al. (2017) that had no woody stems. Environmental/landscape variables for all 100 plots, and more variables such as canopy cover and litter depth are now available.

# Installation

From CRAN:
```
install.packages("novelforestSG")
```
Or install the development version (especially if the devel version > CRAN version as stated above):
```
install.packages("remotes")  # prerequisite
remotes::install_github("hrlai/novelforestSG")
```

# Using the data

To access the raw data:
```
library(novelforestSG)
lapply(novelforest_data, head)
```
For more information, see `?novelforest_data`.

To access the summarised data and environmental variables used in the Lai et al. (2021) analysis, first download the model object. The model object is too large (16.5 MB) to come with the package, but the `download_model` function will download the model from our [GitHub development website](https://github.com/hrlai/novelforestSG):
```
mod <- download_model()
```
Then, extract the input data from the model object:
```
in_dat <- mod$data
```
In the input/summarised data, you will find the environmental variables as certain columns. These plot-level measurements can be matched to the stem-level raw data via plot names. See `?download_model` for more details. Note that the predictor variables were log-transformed and then scale to zero mean and unit SD prior to modelling.

# Dependencies

Because we analysed the data using the `brms` v2.10.0 package in `R`, it is highly recommended that you [install `brms`](https://github.com/paul-buerkner/brms) to squeeze the most out of the model output:
```
install.packages("brms")
```
You may also need `RTools` or `Xcode`, depending on your operating system; see [the `brms` homepage](https://github.com/paul-buerkner/brms#user-content-how-do-i-install-brms). This will take a few minutes so have a cup of hot beverage handy.

# Issues

Please feel free to report any issues to [our GitHub Issue page](https://github.com/hrlai/novelforestSG/issues).

# Erratum

While releasing additional data between v1.2.1 to v2.0.0, we realised that some observations were removed by mistake in the original dataset used in Lai et al. (2021). These omitted data are now included in >v2.0.0. We repeated the analysis using the corrected data in v2.0.0 and obtained extremely similar findings as reported Lai et al. (2021), which is reassuring! Please feel free to contact us if you have any concern.

# Citation

We believe that the sharing of datasets is important for advancing ecology. When you use the data or model output in your original research or meta-analysis, we appreciate if the following papers are cited.

If you use the trees data:

> Lai, H. R., Tan, G. S. Y., Neo, L., Kee, C. Y., Yee, A. T. K., Tan, H. T. W., & Chong, K. Y. (2021). Decoupled responses of native and exotic tree diversities to distance from old-growth forest and soil phosphorus in novel secondary forests. *Applied Vegetation Science*, 24, e12548. doi: 10.1111/avsc.12548

If you use the presence--absence data of all vascular plants, or the environmental/landscape variables: 

> Neo, L., Yee, A. T. K., Chong, K. Y., Kee, C. Y., & Tan, H. T. W. (2017). Vascular plant species richness and composition in two types of post-cultivation tropical secondary forest. *Applied Vegetation Science*, 20(4), 692--701. doi: 10.1111/avsc.12322

See the [LICENSE](https://github.com/hrlai/novelforestSG/blob/master/LICENSE.md) file for license rights.

# Contacts

Hao Ran Lai hrlai.ecology@gmail.com \
Kwek Yan Chong kwek@nus.edu.sg \
Alex Thiam Koon Yee alex_yee@nparks.gov.sg

Owner

  • Name: Hao Ran Lai
  • Login: hrlai
  • Kind: user
  • Company: University of Canterbury

Community ecology, functional traits, transferability

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 121
  • Total Committers: 3
  • Avg Commits per committer: 40.333
  • Development Distribution Score (DDS): 0.025
Past Year
  • Commits: 21
  • Committers: 2
  • Avg Commits per committer: 10.5
  • Development Distribution Score (DDS): 0.048
Top Committers
Name Email Commits
Hao Ran Lai h****y@g****m 118
Christopher Brown p****m@g****m 2
Chong Kwek Yan k****s@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hrlai (1)
Pull Request Authors
  • kwekiii (2)
  • pyrrhicPachyderm (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 225 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: novelforestSG

Dataset from the Novel Forests of Singapore

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 225 Last month
Rankings
Forks count: 17.8%
Dependent packages count: 29.8%
Stargazers count: 31.7%
Dependent repos count: 35.5%
Average: 36.2%
Downloads: 66.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • brms >= 2.10.0 suggests
  • testthat * suggests