Package: codaredistlm 0.1.0
codaredistlm: Compositional Data Linear Models with Composition Redistribution
Provided data containing an outcome variable, compositional variables and additional covariates (optional); linearly regress the outcome variable on an isometric log ratio (ilr) transformation of the linearly dependent compositional variables. The package provides predictions (with confidence intervals) in the change (delta) in the outcome/response variable based on the multiple linear regression model and evenly spaced reallocations of the compositional values. The compositional data analysis approach implemented is outlined in Dumuid et al. (2017a) <doi:10.1177/0962280217710835> and Dumuid et al. (2017b) <doi:10.1177/0962280217737805>.
Authors:
codaredistlm_0.1.0.tar.gz
codaredistlm_0.1.0.zip(r-4.5)codaredistlm_0.1.0.zip(r-4.4)codaredistlm_0.1.0.zip(r-4.3)
codaredistlm_0.1.0.tgz(r-4.4-any)codaredistlm_0.1.0.tgz(r-4.3-any)
codaredistlm_0.1.0.tar.gz(r-4.5-noble)codaredistlm_0.1.0.tar.gz(r-4.4-noble)
codaredistlm_0.1.0.tgz(r-4.4-emscripten)codaredistlm_0.1.0.tgz(r-4.3-emscripten)
codaredistlm.pdf |codaredistlm.html✨
codaredistlm/json (API)
# Install 'codaredistlm' in R: |
install.packages('codaredistlm', repos = c('https://tystan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tystan/codaredistlm/issues
- fairclough - Data from Fairclough (2017). Fitness, fatness and the reallocation of time between children's daily movement behaviours: an analysis of compositional data
- fat_data - Randomly generated data to simulate child fat percentage regressed on time-use compositional data
codacompositional-data-analysisisometric-log-ratiomultiple-linear-regressionplottingprediction
Last updated 2 years agofrom:58879e1e12. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 16 2024 |
R-4.5-win | OK | Nov 16 2024 |
R-4.5-linux | OK | Nov 16 2024 |
R-4.4-win | OK | Nov 16 2024 |
R-4.4-mac | OK | Nov 16 2024 |
R-4.3-win | OK | Nov 16 2024 |
R-4.3-mac | OK | Nov 16 2024 |
Exports:plot_delta_comppredict_delta_comps
Dependencies:backportsbayesmbroomclicolorspacecompositionscpp11DEoptimRdplyrevaluatefansifarvergenericsggplot2gluegtablehighrisobandknitrlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadillorlangrobustbasescalesstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithrxfunyaml