Related Experiment Video
Updated: Aug 6, 2026

06:22
A Precise and Autonomous System for the Detection of Insect Emergence Patterns
Published on: January 9, 2019
figsimR: An R Package for Simulating Fig-Wasp Community Dynamics
Yiyi Dong1,2, Simon T Segar3, Qingbei Weng1,4
1Qiannan Normal University for Nationalities Duyun China.
Ecology and Evolution
|July 22, 2026
Summary
Fig-fig wasp systems are complex for community assembly research. The new figsimR R package simulates these communities, aiding in understanding assembly mechanisms and improving ecological models.
Area of Science:
- Ecology
- Computational Biology
- Evolutionary Biology
Background:
- Fig-fig wasp mutualisms are vital ecological systems but complex to model for community assembly.
- Existing simulation frameworks often lack the detail to capture multi-trophic interactions and species-specific dynamics.
Purpose of the Study:
- To introduce figsimR, an open-source R package for simulating fig-fig wasp communities.
- To provide a flexible and reproducible tool for investigating community assembly mechanisms in these systems.
Main Methods:
- Developed figsimR, an R package with a high-level function simulate_figwasp_community().
- Implemented an agent-based model simulating individual fig-level interactions and outcomes.
- Included functions for calculating diversity and community summary metrics.
- Utilized a 'mechanism knockout' framework to quantify the contribution of individual processes.
Main Results:
- The package simulates species-specific wasp activity, fig wasp emergence, seed production, and resource use.
- Demonstrated a typical workflow using Ficus racemosa, including parameter setup and metric calculation.
- The 'mechanism knockout' framework revealed mean-variance trade-offs across different ecological mechanisms.
Conclusions:
- figsimR offers a reproducible and extensible tool for ecological research on fig-fig wasp communities.
- The package facilitates the evaluation of how biological mechanisms explain observed community properties.
- It enables adaptation to various Ficus species, advancing community assembly research.
Related Concept Videos
Mechanistic Models: Compartment Models in Individual and Population Analysis
Mechanistic models are utilized in individual analysis using single-source data, but imperfections arise due to data collection errors, preventing perfect prediction of observed data. The mathematical equation involves known values (Xi), observed concentrations (Ci), measurement errors (εi), model parameters (ϕj), and the related function (ƒi) for i number of values. Different least-squares metrics quantify differences between predicted and observed values. The ordinary least squares (OLS)...
Parametric Survival Analysis: Weibull and Exponential Methods
Parametric survival analysis models survival data by assuming a specific probability distribution for the time until an event occurs. The Weibull and exponential distributions are two of the most commonly used methods in this context, due to their versatility and relatively straightforward application.
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Distributions to Estimate Population Parameter
The accurate values of population parameters such as population proportion, population mean, and population standard deviation (or variance) are usually unknown. These are fixed values that can only be estimated from the data collected from the samples. The estimates of each of these parameters are sample proportion, the sample mean, and sample standard deviation (or variance). To obtain the values of these sample statistics, data are required that have particular distribution and central...
Pollination and Flower Structure
Flowers are the reproductive, seed-producing structures of angiosperms. Typically, flowers consist of sepals, petals, stamens, and carpels. Sepals and petals are the vegetative flower organs. Stamens and carpels are the reproductive organs.

