LLM Relational Event Models

Fit Cox proportional hazards relational event models (REMs), including a separable formulation that partitions events into initiation and continuation sub-models. Optionally augments REM simulations with large language model (LLM) agents that select targets conditioned on event history, supporting multiple providers ('OpenAI', 'Anthropic', 'xAI'/'Grok', 'Google Gemini', 'Ollama', 'AWS Bedrock') through a common interface. See Butts (2008) for description of relational event modeling.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("llrem")

0.1.1 by C. Ben Gibson, 5 months ago


Browse source code at https://github.com/cran/llrem


Authors: C. Ben Gibson [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ggplot2, httr2, Rcpp, survival

Suggests igraph, parallel, relevent, testthat

Linking to Rcpp


See at CRAN