{
  "_id": "6a4956f7f6c47c441949ce99",
  "Package": "RStanTVA",
  "Type": "Package",
  "Title": "TVA Models in 'Stan' using 'R' and 'StanTVA'",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(given = \"Maximilian M.\", family = \"Rabe\", email = \"maximilian.rabe@uni-potsdam.de\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0002-2556-5644\")),\nperson(given = \"S\\u00f8ren\", family = \"Kyllingsb\\u00e6k\", email = \"soeren.kyllingsbaek@psy.ku.dk\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-4100-437X\")))",
  "Description": "'Stan' implementation of the Theory of Visual Attention\n(TVA; Bundesen, 1990; <doi:10.1037/0033-295X.97.4.523>) and\nnumerous convenience functions for generating, compiling,\nfitting, and analyzing TVA models.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/mmrabe/RStanTVA/issues",
  "URL": "https://github.com/mmrabe/RStanTVA",
  "Date": "2025-12-16",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev",
  "Repository": "https://mmrabe.r-universe.dev",
  "Date/Publication": "2026-06-26 14:40:22 UTC",
  "RemoteUrl": "https://github.com/mmrabe/rstantva",
  "RemoteRef": "HEAD",
  "RemoteSha": "ff89c055b11d00808af45988c08080c5cb53b8ec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-26 16:44:51 UTC",
    "User": "root"
  },
  "Author": "Maximilian M. Rabe [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2556-5644>),\nSøren Kyllingsbæk [aut] (ORCID:\n<https://orcid.org/0000-0002-4100-437X>)",
  "Maintainer": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
  "_user": "mmrabe",
  "_type": "src",
  "_file": "RStanTVA_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7d0b0c6522ec59377b6d5bb569c336ece8ff1c3cd12b5757fc6d5c0e5235ce4c",
  "_filesize": 901375,
  "_sha256": "7d0b0c6522ec59377b6d5bb569c336ece8ff1c3cd12b5757fc6d5c0e5235ce4c",
  "_expires": "2026-10-12T18:54:46.000Z",
  "_created": "2026-06-26T16:44:51.000Z",
  "_published": "2026-07-04T18:54:47.913Z",
  "_jobs": [
    {
      "job": 85158239804,
      "time": 302,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7911306757"
    },
    {
      "job": 85158239758,
      "time": 318,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7911312209"
    },
    {
      "job": 85158239695,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7911254920"
    },
    {
      "job": 85158239621,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7911250037"
    },
    {
      "job": 85158239371,
      "time": 287,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7911193738"
    },
    {
      "job": 85158239705,
      "time": 218,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7911276195"
    },
    {
      "job": 85158239613,
      "time": 252,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7911288962"
    },
    {
      "job": 85158239824,
      "time": 236,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7911282686"
    },
    {
      "job": 85158239619,
      "time": 224,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7911278532"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451",
  "_status": "success",
  "_upstream": "https://github.com/mmrabe/rstantva",
  "_commit": {
    "id": "ff89c055b11d00808af45988c08080c5cb53b8ec",
    "author": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
    "committer": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
    "message": "Update error rate calculation\n",
    "time": 1782484822
  },
  "_maintainer": {
    "name": "Maximilian M. Rabe",
    "email": "maximilian.rabe@uni-potsdam.de",
    "login": "mmrabe",
    "twitter": "@MaxMRabe",
    "description": "Postdoc at the University of Copenhagen and at the University of Potsdam.",
    "uuid": 13450250,
    "orcid": "0000-0002-2556-5644"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "rstan",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "reformulas",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "mmrabe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 5
    },
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 4
    },
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.2",
      "date": "2025-12-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mmrabe",
      "count": 195,
      "uuid": 13450250
    }
  ],
  "_userbio": {
    "uuid": 13450250,
    "type": "user",
    "name": "Maximilian M. Rabe",
    "followers": 23,
    "description": "Postdoc at the University of Copenhagen and at the University of Potsdam."
  },
  "_downloads": {
    "count": 266,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RStanTVA"
  },
  "_devurl": "https://github.com/mmrabe/rstantva",
  "_searchresults": 3,
  "_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/RStanTVA.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mmrabe/rstantva",
  "_realowner": "mmrabe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2025-04-03"
    },
    {
      "version": "0.2.1",
      "date": "2025-04-16"
    },
    {
      "version": "0.2.6",
      "date": "2025-04-23"
    },
    {
      "version": "0.3.0",
      "date": "2025-05-08"
    },
    {
      "version": "0.3.2",
      "date": "2025-12-16"
    }
  ],
  "_exports": [
    "alias",
    "coef",
    "extract",
    "fitted",
    "fixef",
    "logLik",
    "model_code",
    "optimizing",
    "predict",
    "print",
    "prior",
    "ranef",
    "read_stantva_fit",
    "read_tva_data",
    "sampling",
    "show",
    "stancsv2stantvafit",
    "stantva_code",
    "stantva_model",
    "stantva_path",
    "tva_integrate",
    "tva_item_prob",
    "tva_plot_predicted_score",
    "tva_plot_score_densities",
    "tva_predict_score",
    "tva_processing_rates",
    "tva_report",
    "tva_response_prob",
    "tva_score_prob",
    "tva_simulate_response",
    "tva_simulate_score",
    "write_stantva_fit",
    "write_stantva_model",
    "write_tva_data"
  ],
  "_datasets": [
    {
      "name": "tva_recovery",
      "title": "True parameters for TVA recovery study",
      "object": "tva_recovery",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "trial",
        "T",
        "condition",
        "nD",
        "S",
        "D",
        "R",
        "true_values"
      ],
      "rows": 11700,
      "table": false,
      "tojson": true
    },
    {
      "name": "tva_recovery_true_params",
      "title": "True parameters for TVA recovery study",
      "object": "tva_recovery_true_params",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "alias-stantvafit-method",
      "title": "Retrieve parameters aliases",
      "topics": [
        "alias,stantvafit-method"
      ]
    },
    {
      "page": "coef-stantvafit-method",
      "title": "Model coefficients",
      "topics": [
        "coef,stantvafit-method"
      ]
    },
    {
      "page": "extract-stantvafit-method",
      "title": "Extract samples from a fitted RStanTVA model",
      "topics": [
        "extract,stantvafit-method"
      ]
    },
    {
      "page": "fitted-stantvafit-method",
      "title": "Retrieve fitted parameter values",
      "topics": [
        "fitted,stantvafit-method"
      ]
    },
    {
      "page": "fixef-stantvafit-method",
      "title": "Fixed effects",
      "topics": [
        "fixef,stantvafit-method"
      ]
    },
    {
      "page": "logLik-stantvafit-method",
      "title": "Log-likelihood",
      "topics": [
        "logLik,stantvafit-method"
      ]
    },
    {
      "page": "model_code",
      "title": "Extract Stan code",
      "topics": [
        "model_code",
        "model_code,stanfit-method",
        "model_code,stanmodel-method"
      ]
    },
    {
      "page": "names-stantvafit-method",
      "title": "Retrieve model parameter names",
      "topics": [
        "names,stantvafit-method"
      ]
    },
    {
      "page": "optimizing",
      "title": "Maximum-likelihood estimation",
      "topics": [
        "optimizing",
        "optimizing,stantvamodel-method"
      ]
    },
    {
      "page": "predict-stantvafit-method",
      "title": "Predict parameter values",
      "topics": [
        "predict,stantvafit-method"
      ]
    },
    {
      "page": "ranef-stantvafit-method",
      "title": "Random effects",
      "topics": [
        "ranef,stantvafit-method"
      ]
    },
    {
      "page": "read_stantva_fit",
      "title": "Read StanTVA fit",
      "topics": [
        "read_stantva_fit"
      ]
    },
    {
      "page": "read_tva_data",
      "title": "Read TVA data",
      "topics": [
        "read_tva_data"
      ]
    },
    {
      "page": "sampling",
      "title": "Draw posterior samples from an RStanTVA model",
      "topics": [
        "sampling",
        "sampling,stantvamodel-method"
      ]
    },
    {
      "page": "show-stantvacode-method",
      "title": "Show StanTVA code",
      "topics": [
        "show,stantvacode-method"
      ]
    },
    {
      "page": "print-stantvafit-method",
      "title": "Print StanTVA fit",
      "topics": [
        "print,stantvafit-method",
        "show,stantvafit-method"
      ]
    },
    {
      "page": "show-stantvamodel-method",
      "title": "Show StanTVA model",
      "topics": [
        "show,stantvamodel-method"
      ]
    },
    {
      "page": "stancsv2stantvafit",
      "title": "Read StanTVA fit from CSV",
      "topics": [
        "stancsv2stantvafit"
      ]
    },
    {
      "page": "stantva_code",
      "title": "Generate StanTVA code",
      "topics": [
        "stantva_code"
      ]
    },
    {
      "page": "stantva_model",
      "title": "StanTVA model",
      "topics": [
        "stantva_model"
      ]
    },
    {
      "page": "stantva_path",
      "title": "StanTVA path",
      "topics": [
        "stantva_path"
      ]
    },
    {
      "page": "stantvacode-class",
      "title": "StanTVA code class",
      "topics": [
        "stantvacode-class"
      ]
    },
    {
      "page": "stantvafit-class",
      "title": "StanTVA fit class",
      "topics": [
        "stantvafit-class"
      ]
    },
    {
      "page": "stantvamodel-class",
      "title": "StanTVA model class",
      "topics": [
        "stantvamodel-class"
      ]
    },
    {
      "page": "summary-stantvafit-method",
      "title": "Summary method for RStanTVA fits",
      "topics": [
        "summary,stantvafit-method"
      ]
    },
    {
      "page": "tva_integrate",
      "title": "Integrate TVA function over configurations",
      "topics": [
        "tva_integrate"
      ]
    },
    {
      "page": "tva_item_prob",
      "title": "Compute item-level probabilities",
      "topics": [
        "tva_item_prob"
      ]
    },
    {
      "page": "tva_plot_predicted_score",
      "title": "Plot expected scores",
      "topics": [
        "tva_plot_predicted_score"
      ]
    },
    {
      "page": "tva_plot_score_densities",
      "title": "Plot score densities",
      "topics": [
        "tva_plot_score_densities"
      ]
    },
    {
      "page": "tva_predict_score",
      "title": "Predict expected score",
      "topics": [
        "tva_predict_score"
      ]
    },
    {
      "page": "tva_processing_rates",
      "title": "Compute TVA processing rates",
      "topics": [
        "tva_processing_rates"
      ]
    },
    {
      "page": "tva_recovery",
      "title": "True parameters for TVA recovery study",
      "topics": [
        "tva_recovery"
      ]
    },
    {
      "page": "tva_recovery_true_params",
      "title": "True parameters for TVA recovery study",
      "topics": [
        "tva_recovery_true_params"
      ]
    },
    {
      "page": "tva_report",
      "title": "Generate typical descriptive statistics for TVA reports",
      "topics": [
        "tva_report"
      ]
    },
    {
      "page": "tva_response_prob",
      "title": "Compute response probability",
      "topics": [
        "tva_response_prob"
      ]
    },
    {
      "page": "tva_score_prob",
      "title": "Compute score probabilities",
      "topics": [
        "tva_score_prob"
      ]
    },
    {
      "page": "tva_simulate_response",
      "title": "Simulate TVA response",
      "topics": [
        "tva_simulate_response"
      ]
    },
    {
      "page": "tva_simulate_score",
      "title": "Simulate TVA score",
      "topics": [
        "tva_simulate_score"
      ]
    },
    {
      "page": "write_stantva_fit",
      "title": "Write StanTVA fit",
      "topics": [
        "write_stantva_fit"
      ]
    },
    {
      "page": "write_stantva_model",
      "title": "Write StanTVA model",
      "topics": [
        "write_stantva_model"
      ]
    },
    {
      "page": "write_tva_data",
      "title": "Write TVA data",
      "topics": [
        "write_tva_data"
      ]
    }
  ],
  "_readme": "https://github.com/mmrabe/rstantva/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "BH",
    "bit",
    "bit64",
    "boot",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "callr",
    "checkmate",
    "cli",
    "clipr",
    "coda",
    "codetools",
    "cpp11",
    "crayon",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mgcv",
    "minqa",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nloptr",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "readr",
    "reformulas",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "tva_recovery.Rmd",
      "filename": "tva_recovery.html",
      "title": "RStanTVA Parameter Recovery Study",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generative model",
        "Level 1: Trial",
        "Level 2: Experimental condition",
        "Level 3: Subject-level effects (hyperparameters)",
        "Simulations",
        "Model likelihood",
        "Parameter recovery",
        "Maximum-likelihood estimation (MLE)",
        "RStanTVA-ML: Single participant, single condition",
        "RStanTVA-MLN: Single participant, condition as fixed effect",
        "RStanTVA-MLR: Single participant, single condition, with regularization (priors)",
        "RStanTVA-MLRN: Single participant, condition as fixed effect, with regularization (priors)",
        "RStanTVA-NB: Bayesian non-hierarchical inference",
        "RStanTVA-HB*: Bayesian hierarchical inference",
        "Comparison of MLE and Bayes"
      ],
      "created": "2025-12-18 15:35:04",
      "modified": "2025-12-18 15:35:04",
      "commits": 1
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "rstantva",
  "_universes": [
    "mmrabe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-26T16:48:43.000Z",
      "distro": "resolute",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/8b356e04bae9d1c957d9f8182dbd193a41fcdd30f8fc1a26527616199e741432",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-26T16:48:48.000Z",
      "distro": "resolute",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/f6f16d14487288b47a315d904fc6e9764ac050dbf6c9794375a4a07d194be00d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-26T16:46:52.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/be6e52a478aabb6e131e5eccce57545049e2183adfb8269225d09d0905ff1e34",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-26T16:46:44.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/44588ba2a7cf79dd4fb17fa5d28571327c94090355f6e8f287007ded83162cc7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-26T16:48:56.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/e133e777893c694cb7c9b5946b5d8bed43c611143612c08f7b8c6deece1325fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-26T16:47:14.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/8f09aecd4fd1b9f1a87bf011cf356c23ba2d556125caf6e0358721bc49f795d5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-26T16:47:07.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/a1de9030e24c5f7137483db87ff545b85a7058444bffe267dcf4ad70bb883f63",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-26T16:47:02.000Z",
      "commit": "ff89c055b11d00808af45988c08080c5cb53b8ec",
      "fileid": "https://r2.ropensci.org/345f77668049ff5c8070242d25b0034658d28b8cd3de2e5c0ea745147ae28729",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/28251860451"
    }
  ]
}