Package: ccva 0.1.1

Hassan Doosti

ccva: Climate Change Vulnerability Assessment with Constrained Latent Models

A general framework for climate change vulnerability assessment (CCVA) of any species and any dataset. Variables are tagged as exposure, sensitivity or adaptive capacity; each component is computed from its own predictors by a chosen method; and the three components are combined into vulnerability. Methods range from the rule-based framework of Foden et al. (2013) <doi:10.1371/journal.pone.0065427> and the conventional weighted index of Ofori et al. (2017) <doi:10.1038/s41598-017-13245-y> to shape-constrained additive models ('scam'), latent-variable structural equation models ('lavaan') in which vulnerability is inferred from observable proxies, and penalised regression ('glmnet') for high-dimensional predictors. Missing traits and outcomes are handled by full-information maximum likelihood. Ecological knowledge enters as explicit constraints on predictors, on each component's role and on the links between components. Diagnostics, validation against observed outcomes, bootstrap and weight-based uncertainty, calibrated risk predictions and plots for every step are included.

Authors:Hassan Doosti [aut, cre, cph]

ccva_0.1.1.tar.gz
ccva_0.1.1.zip(r-4.7-any)ccva_0.1.1.zip(r-4.6-any)ccva_0.1.1.zip(r-4.5-any)
ccva_0.1.1.tgz(r-4.6-any)ccva_0.1.1.tgz(r-4.5-any)
ccva_0.1.1.tar.gz(r-4.7-any)ccva_0.1.1.tar.gz(r-4.6-any)
ccva_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ccva/json (API)

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

Bug tracker:https://github.com/doostih/ccva/issues

Datasets:

On CRAN:

Conda:

4.30 score 39 exports 23 dependencies

Last updated from:2101cc5cbc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK169
source / vignettesOK513
linux-releaseOK181
macos-releaseOK104
macos-oldrelOK162
windows-develOK99
windows-releaseOK135
windows-oldrelOK132
wasm-releaseOK95

Exports:as_ccvaccvaccva_adaptiveccva_adjust_methodccva_aggregateccva_calibrateccva_checkccva_classifyccva_coloursccva_combineccva_compareccva_componentccva_constraintsccva_cvccva_default_constraintsccva_exposureccva_methodsccva_plotccva_rankccva_recommendccva_registerccva_reportccva_sdm_exposureccva_sensitivityccva_sim_dataccva_simulateccva_thermal_marginccva_uncertaintyccva_unconstrainedccva_unregisterccva_validateconstrain_boundsconstrain_equalconstrain_fixedconstrain_linkconstrain_moderatorconstrain_shapeconstrain_signtheme_ccva

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglavaanlifecycleMASSmnormtnumDerivpbivnormquadprogR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

A statistical CCVA workflow, step by step
1. Match the method to the data | 2. Control sensitivity traits for methodology | 3. Test how well the data measure E, S and A | Incomplete trait data | Rule-based assessments | 4. Make the causal hypotheses explicit | 5. Shapes that ecology justifies | 6. From rankings to calibrated risk | 7. Spatial prioritisation | What is not (yet) in the package | Reference

Last update: 2026-10-23
Started: 2026-10-14

Climate change vulnerability assessment with ccva
1. Data | Before combining anything: diagnostics | 2. The conventional baseline: Ofori et al. (2017) | 3. Vulnerability as a latent variable | Which method recovers the truth? | 4. Constraints: imposing ecological knowledge | When do constraints matter? | Adaptive capacity as a moderator | 5. High-dimensional predictors | 6. How certain is the ranking? | 7. Classification and outputs | 8. Extending the framework | References

Last update: 2026-10-14
Started: 2026-10-14

Readme and manuals

Help Manual

Help pageTopics
Build a CCVA datasetas_ccva
Run a complete CCVAccva
Adjust trait measurements for assay methodologyccva_adjust_method
Aggregate species vulnerability to sites or communitiesccva_aggregate
Calibrated risk predictionsccva_calibrate
Diagnose the indicators before combining themccva_check
Classify vulnerability scores into Low / Moderate / Highccva_classify
Combine the components into vulnerabilityccva_combine
Compare several CCVA fitsccva_compare
Score the exposure, sensitivity and adaptive-capacity componentsccva_adaptive ccva_component ccva_exposure ccva_sensitivity
Constraints on predictors and componentsccva_constraints ccva_default_constraints ccva_unconstrained constrain_bounds constrain_equal constrain_fixed constrain_link constrain_moderator constrain_shape constrain_sign
Cross-validated vulnerability scoresccva_cv
List available methodsccva_methods
Plot any step of a CCVAccva_plot
Rank units by vulnerabilityccva_rank
Match methods to the data availableccva_recommend
Register a new component or combination methodccva_register ccva_unregister
Write a reproducible CCVA reportccva_report
Compute exposure predictors from species distribution model outputccva_sdm_exposure
Simulated CCVA datasetccva_sim
Specification of the bundled simulated dataccva_sim_data
Simulate CCVA data with a known latent structureccva_simulate
Compute thermal sensitivity predictorsccva_thermal_margin
Quantify uncertainty in vulnerability scores and rankingsccva_uncertainty
Validate vulnerability scores against observed outcomesccva_validate
Predict vulnerability for new unitspredict.ccva_fit
Colours and theme used by ccva plotsccva_colours theme_ccva