Skip to content

datafsm

0.2.4

Estimating Finite State Machine Models from Data

0packages depend
2.7Kdownloads / year
38.7%test coverage
11/13checks pass

Overview

About
Maintained by Jonathan M. GilliganFirst published 2015-09-086 releasesCRAN page ↗GitHub ↗

Automatic generation of finite state machine models of dynamic decision-making that both have strong predictive power and are interpretable in human terms. We use an efficient model representation and a genetic algorithm-based estimation process to generate simple deterministic approximations that explain most of the structure of complex stochastic processes. We have applied the software to empirical data, and demonstrated it's ability to recover known data-generating processes by simulating data with agent-based models and correctly deriving the underlying decision models for multiple agent models and degrees of stochasticity.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 3.5 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
38.7%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-02
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    9 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
67%
Documented parameters
100%
Return-value docs
67%
References docs
10%

Downloads

2.7K
CRAN downloads in the past year
Rank #13,755 · ~7/day · ~222/mo
Daily download trend is not available in this view yet.
19130 days
73990 days
2.7K1 year
Compare downloads with other packages →
Also on393 r2u22 autocran

Repository

Repository
11Stars
2Forks
0Open issues
0Open PRs
3Releases
334Commits
5Contributors
rmachine-learningr-package
License MIT · 334 commits · Last activity 2025-12-01

Stars over time

2023-03-25 · 112026-07-07 · 11

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/jonathan-g/datafsm on 2026-08-16.

Continuous integration (3)
GitHub ActionsGitLab CITravis CI
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (3)
R >= 4.0methodsstats
Imports (3)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Maintainer, Author
Authors (2)
Maintainer, Author
Listed in earlier versions (2)
no longer listed · 0.2.4
no longer listed · 0.2.4
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.4Latest
    2021-05-30 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.3
    2019-11-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.2
    2018-08-09 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    2017-10-20 · diff ↗
  • 0.2.0
    2017-06-17 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • archivedRemoved from CRAN
    2017-01-04
    check problems were not corrected despite reminders
Show 3 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.0
    2015-09-08
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-09-08
Total releases
6 / 11 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0
Bundled data
744 KB / 1 file
Download size
899 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("datafsm")
Gilligan, J. M., & Nay, J. J. (2021). datafsm: Estimating Finite State Machine Models from Data (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.datafsm

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 datafsm version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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