nigeria_sim: Simulated subnational conflict events (Nigeria-like)

nigeria_simR Documentation

Simulated subnational conflict events (Nigeria-like)

Description

A deterministic, seeded simulation of dyadic interaction events among 25 mobile actors over 2000-2016, with the qualitative spatiotemporal structure that the PALS method targets: actors drift slowly through space and interact preferentially with nearby actors. It is produced by simulate_conflict_events() and is used in the package examples, tests, and vignette so that they run without any external dependency. It complements nigeria_acled, the bundled real-data example.

Usage

nigeria_sim

Format

A pal_events object (a data.frame subclass) with 1500 rows and 5 columns:

actor1

Character id of the first actor in the dyad.

actor2

Character id of the second actor in the dyad.

time

Date of the event.

lon

Event longitude (decimal degrees).

lat

Event latitude (decimal degrees).

Source

Generated by data-raw/nigeria_sim.R via simulate_conflict_events(n_actors = 25, n_events = 1500, years = 2000:2016, seed = 20230101).

Examples

data(nigeria_sim)
nigeria_sim

fit <- estimate_pals(nigeria_sim, model = "one")
coef(fit)


palsr documentation built on July 1, 2026, 5:07 p.m.