{
  "_id": "6a467def6ff6f2357554b5e8",
  "Package": "stateR",
  "Type": "Package",
  "Title": "Brain State Metrics for Functional Connectivity Studies",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lucas\", \"França\", , \"lucas.franca@kcl.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0853-1319\")),\nperson(\"Dafnis\", \"Batallé\", , \"dafnis.batalle@kcl.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-2097-979X\")))",
  "Maintainer": "Lucas França <lucas.franca@kcl.ac.uk>",
  "Description": "Provides tidy tools for quantifying brain state dynamics\nfrom functional connectivity time series. Computes fractional\noccupancy, mean dwell time, and Markov-chain transition\nprobabilities across discrete brain states derived from\nclustering methods such as k-means or hidden Markov models.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://CoDe-Neuro.github.io/stateR,\nhttps://github.com/CoDe-Neuro/stateR",
  "BugReports": "https://github.com/CoDe-Neuro/stateR/issues",
  "Repository": "https://code-neuro.r-universe.dev",
  "Date/Publication": "2026-05-31 14:32:30 UTC",
  "RemoteUrl": "https://github.com/CoDe-Neuro/stateR",
  "RemoteRef": "v0.1.0",
  "RemoteSha": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 15:00:09 UTC",
    "User": "root"
  },
  "Author": "Lucas França [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0853-1319>),\nDafnis Batallé [aut] (ORCID: <https://orcid.org/0000-0003-2097-979X>)",
  "MD5sum": "78cfe01d52687d78470245b6669dff91",
  "_user": "code-neuro",
  "_type": "src",
  "_file": "stateR_0.1.0.tar.gz",
  "_fileid": "df35758b238e7529d80b89c6847f5029dbaae5c6f784e95e41bb110c9ec49cec",
  "_filesize": 117550,
  "_sha256": "df35758b238e7529d80b89c6847f5029dbaae5c6f784e95e41bb110c9ec49cec",
  "_created": "2026-07-02T15:00:09.000Z",
  "_published": "2026-07-02T15:04:15.646Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84805381909,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8042946072"
    },
    {
      "job": 84805381902,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8042948142"
    },
    {
      "job": 84805381923,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8042936823"
    },
    {
      "job": 84805381919,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8042918306"
    },
    {
      "job": 84804656634,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8042851886"
    },
    {
      "job": 84805382004,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8042916614"
    },
    {
      "job": 84805382003,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8042895373"
    },
    {
      "job": 84805382009,
      "time": 205,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8042950294"
    },
    {
      "job": 84805381970,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8042895412"
    }
  ],
  "_buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/CoDe-Neuro/stateR",
  "_commit": {
    "id": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
    "author": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "committer": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "message": "🎨 style: revert to option A — teal nodes on cream palette\n",
    "time": 1780237950
  },
  "_maintainer": {
    "name": "Lucas França",
    "email": "lucas.franca@kcl.ac.uk",
    "login": "lucasfr",
    "description": "Immigrant, physicist, neuroscientist, open source and data science enthusiast.",
    "uuid": 502265,
    "orcid": "0000-0003-0853-1319"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "code-neuro",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 17
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-05-31"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucasfr",
      "count": 25,
      "uuid": 502265
    }
  ],
  "_userbio": {
    "uuid": 65711167,
    "type": "organization",
    "name": "CoDe-Neuro",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stateR"
  },
  "_devurl": "https://github.com/code-neuro/stater",
  "_pkgdown": "https://CoDe-Neuro.github.io/stateR",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stateR.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "clusters_markov",
    "nest_dwell",
    "nest_fo"
  ],
  "_help": [
    {
      "page": "clusters_markov",
      "title": "This function reports the likelihood of transition between different states. The analysis is performed in a Markovian manner, i.e., without memory and all states have the same relevance.'",
      "topics": [
        "clusters_markov"
      ]
    },
    {
      "page": "dwellCount",
      "title": "This function obtains dwelling times for states from a list.",
      "topics": [
        "dwellCount"
      ]
    },
    {
      "page": "nest_dwell",
      "title": "This function estimates the dwelling time or continuous occupancy of a series of states.'",
      "topics": [
        "nest_dwell"
      ]
    },
    {
      "page": "nest_fo",
      "title": "This function estimates the fractional occupancy or probability of a series of states.'",
      "topics": [
        "nest_fo"
      ]
    }
  ],
  "_pkglogo": "https://github.com/CoDe-Neuro/stateR/raw/v0.1.0/man/figures/logo.svg",
  "_readme": "https://github.com/CoDe-Neuro/stateR/raw/v0.1.0/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "janitor",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with stateR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a brain state?",
        "Input format",
        "Simulated data",
        "Fractional occupancy with nest_fo()",
        "Dwell time with nest_dwell()",
        "Markov transitions with clusters_markov()",
        "Output structure at a glance",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 13:51:02",
      "commits": 1
    },
    {
      "source": "grouped-pipeline.Rmd",
      "filename": "grouped-pipeline.html",
      "title": "Grouped pipeline: testing across states",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Simulated data",
        "Step 1 — Compute fractional occupancy",
        "Step 2 — Test each state",
        "Step 3 — Dwell time pipeline",
        "Step 4 — Markov transition pipeline",
        "Using ptestR for permutation tests",
        "Notes on vars and covariate carriage",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 14:11:40",
      "commits": 3
    },
    {
      "source": "markov-transitions.Rmd",
      "filename": "markov-transitions.html",
      "title": "Markov transition probabilities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a Markov transition?",
        "Simulated data",
        "Computing transitions",
        "The transition matrix",
        "Removing self-transitions",
        "The tag convention",
        "vars vs groupBy",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 14:11:40",
      "commits": 3
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "stater",
  "_universes": [
    "code-neuro",
    "lucasfr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T15:03:24.000Z",
      "distro": "resolute",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "e3dc1b64556f356a6724acbd98bdd7f8058ecccc5518e53a0d2b3ec10fd709d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T15:03:25.000Z",
      "distro": "resolute",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "4408b8f4d5693533cd62cc5a6d8df47cf65f39bc399d95ebd7e7ac8b128fa439",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-02T15:03:02.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "79f938a9bb9c3122d835a5448856d96172bc2623108222310562372f5bd38068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-02T15:02:23.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "77c528617caa0122312e542a25f23f5a2727aafa46d793ccd278c596154ff0e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-02T15:02:37.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "106324574d471306c94df00c01c20a7a35baec64faad5e880fa5493e7b642ab8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T15:01:29.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "e2c9cc557f0af581f89681fa6fd4abd8e58d4b99751ade44ce3adb805455bea3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T15:03:27.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "c3e646425d49e28d05bff5becbddacee1c4493ec16b17cf68201164b27a4ea67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T15:01:28.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "9eae2abf7e0dbdff943bad7be59c50bdbca18c89a4ed69bfd9dcd0108069d390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/28599770101"
    }
  ]
}