Skip to contents

Overview of invasimap functions

Quantifies and visualises invasion fitness from occurrence and trait data. Computes trait centrality, maps trait dispersion, and estimates interaction strength. Assesses site-level invasibility and community openness to new invasions. Produces interaction matrices and trait-specific invasion risk indicators. Aligns with Hui et al. (2023): integrates traits, propagule pressure, and environment.

Core Functions

get_trait_data()
Scrape and Analyze Wikipedia & Trait Data for a Species
compute_trait_similarity()
Compute Trait Similarity for Numeric and Categorical Variables
compute_trait_dispersion()
Trait Dispersion Pipeline: Gower → clustering → PCoA → density → metrics
compute_trait_space()
Compute Trait Space: per-trait similarity + community dispersion
build_glmm_formula()
Build a trait-environment GLMM formula safely and flexibly
simulate_invaders()
Simulate hypothetical invader trait profiles from a resident trait pool
predict_invader_response()
Predict site-level responses for residents and simulated invaders
compute_interaction_strength()
Compute trait-based interaction strengths and resident abundance matrix
compute_competition_kernel()
Compute trait-based competition coefficients from a distance matrix
compute_environment_kernel()
Environmental optima and site-species environmental distance (with optional kernel)
assemble_matrices()
Assemble site- and species-specific competition/impact matrices
compute_invasion_fitness()
Compute invasion fitness from competition/impact tensors and growth predictions