Skip to content

stelfi

1.0.2Package record

Hawkes and Log-Gaussian Cox Point Processes Using Template Model Builder

0packages depend
5.2Kdownloads / year
54.7%test coverage
13/13flavors OK

Overview

About
Maintained by Charlotte M. Jones-ToddCRAN page ↗GitHub ↗Issues ↗Declared funders: Marsden Fund 3723517 and Asian Office of Aerospace Research & Development FA2386-21-1-4028

Fit Hawkes and log-Gaussian Cox process models with extensions. Introduced in Hawkes (1971) doi:10.2307/2334319 a Hawkes process is a self-exciting temporal point process where the occurrence of an event immediately increases the chance of another. We extend this to consider self-inhibiting process and a non-homogeneous background rate. A log-Gaussian Cox process is a Poisson point process where the log-intensity is given by a Gaussian random field. We extend this to a joint likelihood formulation fitting a marked log-Gaussian Cox model. In addition, the package offers functionality to fit self-exciting spatiotemporal point processes. Models are fitted via maximum likelihood using 'TMB' (Template Model Builder). Where included 1) random fields are assumed to be Gaussian and are integrated over using the Laplace approximation and 2) a stochastic partial differential equation model, introduced by Lindgren, Rue, and Lindström. (2011) doi:10.1111/j.1467-9868.2011.00777.x, is defined for the field(s).

Changes in 1.0.2

Breaking changes

  • None

New features

  • None

Minor improvements and fixes

  • fixing CRAN NOTE for CRAN (re)release

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
Show 2 earlier changesHide 2 earlier changes
  • OK12 OK2026-04-25
  • NOTE11 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.2
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.2Citation fileYes · cites a publication
Help pages
28 (1 internal)includes a package overview page
Examples that run
47%7 run in a plain check (1 of them under a condition) · 8 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
94%
Documented parameters
98%
Return-value docs
88%
Help pages citing references
14%
Vignettes (1)

Downloads

5.2K
CRAN downloads in the past year
Rank #5,818 · ~14/day · ~431/mo
Daily download trend is not available in this view yet.
65230 days
1.4K90 days
5.2K1 year
Compare downloads with other packages →
Also on365 r2u3 autocran

Repository

10Stars
2Forks
0Open issues
0Open PRs
4Releases
403Commits
7Commit identities
License file reads as GPL-3.0 · 403 commits · Last activity 2026-10-21 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
10
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-03-12 · 82026-08-22 · 10
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/cmjt/stelfi on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)

GitHub Pages site last deployed 2025-09-15

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing stelfi adds 44 packages (28 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.5.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (6)
Author, Maintainer since 0.0.1 (2022), Copyright holder
Charlotte Jones-Todd wrote and continued developmend of the main code.
Author
Alec van Helsdingen wrote the Hawkes templates and extended self-exciting TMB templates
Contributor · added in 1.0.2
Joseph Reps worked on the spatio-temporal self-exciting TMB templates
Contributor
Xiangjie Xue worked the early spatio-temporal self-exciting TMB templates
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2025-09-15
  • 1.0.2Latest
    record
    2025-09-15 · current release · diff ↗ ·
    added 2 exports
    compensator_differences, show_multivariate_hawkes
  • R
    R 4.5.0 released · 2025-04-11
  • archivedRemoved from CRAN
    2025-04-02
    issues were not corrected in time
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1
    record
    2023-10-24 · diff ↗
  • 1.0.0
    record
    2023-09-28 · diff ↗ ·
    removed 1 export
    stelfi_load_inla
    added 1 export
    fit_mhawkes
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.2
    record
    2023-04-06 · diff ↗
  • 0.0.1
    record
    2022-11-03
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-11-03
Total releases
5 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.5.0
Bundled data
892 KB / 11 files
Download size
966 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("stelfi")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1002/ece3.11005.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for stelfi version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy