Package: hmde 0.1.0

Tess OBrien

hmde: Hierarchical Methods for Differential Equations

Wrapper for Stan that offers a number of in-built models to implement a hierarchical Bayesian longitudinal model for repeat observation data. Model choice selects the differential equation that is fit to the observations. Single and multi-individual models are available.

Authors:Daniel Falster [aut, ctb], Tess O'Brien [aut, cre, cph], Fonti Kar [ctb], David Warton [aut, ctb]

hmde_0.1.0.tar.gz
hmde_0.1.0.zip(r-4.5)hmde_0.1.0.zip(r-4.4)hmde_0.1.0.zip(r-4.3)
hmde_0.1.0.tgz(r-4.5-x86_64)hmde_0.1.0.tgz(r-4.5-arm64)hmde_0.1.0.tgz(r-4.4-x86_64)hmde_0.1.0.tgz(r-4.4-arm64)hmde_0.1.0.tgz(r-4.3-x86_64)hmde_0.1.0.tgz(r-4.3-arm64)
hmde_0.1.0.tar.gz(r-4.5-noble)hmde_0.1.0.tar.gz(r-4.4-noble)
hmde.pdf |hmde.html
hmde/json (API)

# Install 'hmde' in R:
install.packages('hmde', repos = c('https://traitecoevo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/traitecoevo/austraits/issues

Pkgdown site:https://traitecoevo.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

bayesian-inverse-problemsbayesian-methodsdifferential-equationshierarchical-modelsrstanstancpp

5.53 score 3 stars 10 scripts 13 exports 56 dependencies

Last updated 9 days agofrom:186acca1d4. Checks:1 OK, 10 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 12 2025
R-4.5-win-x86_64NOTEFeb 12 2025
R-4.5-mac-x86_64NOTEFeb 12 2025
R-4.5-mac-aarch64NOTEFeb 12 2025
R-4.5-linux-x86_64NOTEFeb 12 2025
R-4.4-win-x86_64NOTEFeb 12 2025
R-4.4-mac-x86_64NOTEFeb 12 2025
R-4.4-mac-aarch64NOTEFeb 12 2025
R-4.3-win-x86_64NOTEFeb 12 2025
R-4.3-mac-x86_64NOTEFeb 12 2025
R-4.3-mac-aarch64NOTEFeb 12 2025

Exports:hmde_affine_dehmde_assign_datahmde_canham_dehmde_const_dehmde_extract_estimateshmde_modelhmde_model_deshmde_model_nameshmde_model_parshmde_plot_de_pieceshmde_plot_obs_est_indshmde_runhmde_vb_de

Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionaldplyrfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeaderstensorAtibbletidyselectutf8vctrsviridisLitewithr

Case study 3: Canham function growth with tree data from Barro Colorado Island

Rendered fromcanham.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-01-27
Started: 2024-11-28

Case study 1: Constant growth with SUSTAIN Trout data

Rendered fromconstant-growth.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-02-12
Started: 2024-11-28

Here be dragons

Rendered fromhere_be_dragons.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-01-27
Started: 2024-12-03

hmde

Rendered fromhmde.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2024-12-03
Started: 2024-11-18

hmde for Mathematicians

Rendered fromhmde_for_mathematicians.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-01-27
Started: 2024-12-02

Case study 2: von Bertalanffy growth with lizard size data

Rendered fromvon-bertalanffy.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-01-27
Started: 2024-11-28

Readme and manuals

Help Manual

Help pageTopics
The 'hmde' package.hmde-package hmde
Differential equation for affine growth single individual modelhmde_affine_de
Assign data to template for chosen modelhmde_assign_data
Differential equation for Canham growth single and multi- individual modelshmde_canham_de
Differential equation for constant growth single and multi- individual modelshmde_const_de
Extract samples and return measurement, individual, and population-level estimateshmde_extract_estimates
Select data configuration template for hmde supported modelhmde_model
Function to select DE given model namehmde_model_des
Returns names of available models.hmde_model_names
Show parameter list for hmde supported modelhmde_model_pars
Plot pieces of chosen differential equation model for each individual. Structured to take the individual data tibble that is built by the hmde_extract_estimates function using the ind_par_name_mean estimates. Function piece will go from the first fitted size to the last. Accepted ggplot arguments will change the axis labels, title, line colour, alphahmde_plot_de_pieces
Plot estimated and observed values over time for a chosen number of individuals based on posterior estimates. Structured to take in the measurement_data tibble constructed by the hmde_extract_estimates function.hmde_plot_obs_est_inds
Run chosen pre-built model in Stanhmde_run
Differential equation for von Bertalanffy growth single and multi- individual modelshmde_vb_de
Skink size data - Lampropholis delicataLizard_Size_Data
Garcinia recondita - Barro Colorado Island dataTree_Size_Data
Garcinia recondita model estimates - Barro Colorado Island dataTree_Size_Ests
SUSTAIN Salmo trutta dataTrout_Size_Data