Skip to content

About

Structured allometric models for trees

Topics

Resources

Stars

74 stars

Watchers

6 watching

Forks

Latest commit

 

History

582 Commits

Folders and files

Repository files navigation

allometric Isometric logo of a tree

R-CMD-check codecov

allometric provides structured allometric models for predicting tree attributes. Browse the model catalog and the publication catalog, or read the Using Models guide to install the package and predict with models.

Installation

Install the package from GitHub with devtools:

devtools::install_github("allometric/allometric")

Install the compiled model distribution locally:

library(allometric)
install_models()

The models are downloaded from the public models repository. Load them with:

allometric_models <- load_models()

Example

Select a model and use it to predict stem volume from diameter outside bark at breast height (dsob, in cm) and total stem height (hst, in m):

poudel_model <- allometric_models |>
  dplyr::filter(pub_id == "poudel_2019") |>
  select_model("1bc22c7e")

predict(poudel_model, 12, 65)
#> 0.6231063 [m^3]

See the Using Models guide and the allometric package reference for more examples, model discovery, variable naming, and advanced prediction workflows.

To add models to the corpus, see the Contributing Models guide.

About

Structured allometric models for trees

Topics

Resources

Stars

74 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages