Package: DImodelsVis 1.0.1

Rishabh Vishwakarma

DImodelsVis: Visualising and Interpreting Statistical Models Fit to Compositional Data

Statistical models fit to compositional data are often difficult to interpret due to the sum to 1 constraint on data variables. 'DImodelsVis' provides novel visualisations tools to aid with the interpretation of models fit to compositional data. All visualisations in the package are created using the 'ggplot2' plotting framework and can be extended like every other 'ggplot' object.

Authors:Rishabh Vishwakarma [aut, cre], Caroline Brophy [aut], Laura Byrne [aut], Catherine Hurley [aut]

DImodelsVis_1.0.1.tar.gz
DImodelsVis_1.0.1.zip(r-4.5)DImodelsVis_1.0.1.zip(r-4.4)DImodelsVis_1.0.1.zip(r-4.3)
DImodelsVis_1.0.1.tgz(r-4.4-any)DImodelsVis_1.0.1.tgz(r-4.3-any)
DImodelsVis_1.0.1.tar.gz(r-4.5-noble)DImodelsVis_1.0.1.tar.gz(r-4.4-noble)
DImodelsVis_1.0.1.tgz(r-4.4-emscripten)DImodelsVis_1.0.1.tgz(r-4.3-emscripten)
DImodelsVis.pdf |DImodelsVis.html
DImodelsVis/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/rishvish/dimodelsvis/issues

On CRAN:

4.54 score 7 scripts 182 downloads 39 exports 110 dependencies

Last updated 3 months agofrom:21e8991e85. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:add_add_varadd_ID_termsadd_interaction_termsadd_predictionconditional_ternaryconditional_ternary_dataconditional_ternary_plotcopy_attributescustom_filterget_coloursget_equi_commsget_shadesgradient_changegradient_change_datagradient_change_plotgroup_propgrouped_ternarygrouped_ternary_datagrouped_ternary_plotmodel_diagnosticsmodel_diagnostics_datamodel_diagnostics_plotmodel_selectionmodel_selection_datamodel_selection_plotprediction_contributionsprediction_contributions_dataprediction_contributions_plotprop_to_tern_projsimplex_pathsimplex_path_datasimplex_path_plottern_to_prop_projternary_dataternary_plottheme_DIvisualise_effectsvisualise_effects_datavisualise_effects_plot

Dependencies:backportsbase64encbslibcachemcheckmateclassclassIntclicodetoolscolorspacecommonmarkcpp11curldata.tableDBIdigestDImodelsdplyre1071evaluatefansifarverfastmapfontawesomeforcatsFormulaformula.toolsfsgenericsggforceggfortifyggiraphggplot2ggtextgluegridExtragridtextgtablehighrhnphtmltoolshtmlwidgetsinsightisobandjpegjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelubridatemagrittrmarkdownMASSMatrixmemoisemetRmgcvmimemultcompmunsellmvtnormnlmeoperator.toolsPieGlyphpillarpkgconfigplotwidgetsplyrpngpolyclipproxypurrrR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrootSolves2sandwichsassscalessfstringistringrsurvivalsystemfontsTH.datatibbletidyrtidyselecttimechangetinytextweenrunitsutf8uuidvctrsviridisLitewithrwkxfunxml2yamlzoo

Using DImodelsVis with regression models not fit using the DImodels package

Rendered fromDImodelsVis-with-complex-models.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-02-12
Started: 2024-01-29

Readme and manuals

Help Manual

Help pageTopics
Add additional variables to the dataadd_add_var
Add identity effect groups used in a Diversity-Interactions (DI) model to new dataadd_ID_terms
Add interaction terms used in a Diversity-Interactions (DI) model to new dataadd_interaction_terms
Add predictions and confidence interval to data using either a model object or model coefficientsadd_prediction
Conditional ternary diagramsconditional_ternary
Conditional ternary diagramsconditional_ternary_data
Conditional ternary diagramsconditional_ternary_plot
Copy attributes from one object to anothercopy_attributes
Special custom filtering for compositional datacustom_filter
Return colour-blind friendly coloursget_colours
Get all equi-proportional communities at specific levels of richnessget_equi_comms
Returns shades of coloursget_shades
Visualise change in (predicted) response over diversity gradientgradient_change
Calculate change in predicted response over diversity gradientgradient_change_data
Visualise change in (predicted) response over diversity gradientgradient_change_plot
Combine variable proportions into groupsgroup_prop
Conditional ternary diagrams at functional group levelgrouped_ternary
Grouped ternary diagramsgrouped_ternary_data
Conditional ternary diagrams at functional group levelgrouped_ternary_plot
Regression diagnostics plots with pie-glyphsmodel_diagnostics
Data preparation for regression diagnostics plots with pie-glyphsmodel_diagnostics_data
Regression diagnostics plots with pie-glyphsmodel_diagnostics_plot
Visualising model selectionmodel_selection
Prepare data for visualising model selectionmodel_selection_data
Visualise model selectionmodel_selection_plot
Model term contributions to predicted responseprediction_contributions
Model term contributions to predicted responseprediction_contributions_data
Visualise model term contributions to predicted responseprediction_contributions_plot
Project 3-d compositional data onto x-y plane and vice versaprop_to_tern_proj tern_to_prop_proj
Visualising the change in a response variable between two points in the simplex spacesimplex_path
Creating data for visualising the change in a response variable between two points in the simplex spacesimplex_path_data
Visualising the change in a response variable between two points in the simplex spacesimplex_path_plot
Prepare data for showing contours in ternary diagrams.ternary_data
Ternary diagramsternary_plot
Default theme for DImodelsVistheme_DI
Effects plot for compositional datavisualise_effects
Prepare data for effects plots for compositional datavisualise_effects_data
Effects plot for compositional datavisualise_effects_plot