{
  "_id": "6a2957c9732311cd875b182d",
  "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-10 08:53:26 UTC",
  "RemoteUrl": "https://github.com/mmrabe/rstantva",
  "RemoteRef": "HEAD",
  "RemoteSha": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 12:00:45 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>",
  "MD5sum": "7167680a0e45307a2dc22abef7da8805",
  "_user": "mmrabe",
  "_type": "src",
  "_file": "RStanTVA_0.4.0.tar.gz",
  "_fileid": "bfc0ec2a91dde84ef82dd9372e6ab52e1027a5e5c01227127ead1082aaf45e7d",
  "_filesize": 897635,
  "_sha256": "bfc0ec2a91dde84ef82dd9372e6ab52e1027a5e5c01227127ead1082aaf45e7d",
  "_created": "2026-06-10T12:00:45.000Z",
  "_published": "2026-06-10T12:25:45.271Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80553055727,
      "time": 345,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7535153365"
    },
    {
      "job": 80553055631,
      "time": 355,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7535156694"
    },
    {
      "job": 80553055651,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7535091250"
    },
    {
      "job": 80553055681,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7535096592"
    },
    {
      "job": 80551802802,
      "time": 412,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7535029847"
    },
    {
      "job": 80553055612,
      "time": 1436,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80553055625,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7535092335"
    },
    {
      "job": 80553055642,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7535091934"
    },
    {
      "job": 80553055645,
      "time": 166,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7535090049"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mmrabe/rstantva",
  "_commit": {
    "id": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
    "author": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
    "committer": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
    "message": "Update manual\n",
    "time": 1781081606
  },
  "_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"
  },
  "_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": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.3.2",
      "date": "2025-12-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mmrabe",
      "count": 192,
      "uuid": 13450250
    }
  ],
  "_userbio": {
    "uuid": 13450250,
    "type": "user",
    "name": "Maximilian M. Rabe",
    "description": "Postdoc at the University of Copenhagen and at the University of Potsdam."
  },
  "_downloads": {
    "count": 188,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RStanTVA"
  },
  "_devurl": "https://github.com/mmrabe/rstantva",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_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.544068044350276,
  "_indexed": true,
  "_nocasepkg": "rstantva",
  "_universes": [
    "mmrabe"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-03T13:38:34.000Z",
      "commit": "348fb1a78ec9614d3f77540672dbfb4e4977ffdb",
      "fileid": "38acc1a91392c0cd16f020ff9c5315c773ad9cd1b5c03a7fa90003d102e1ff42",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/26887860846"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-10T12:05:53.000Z",
      "distro": "noble",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "ca3091a9ae63f39fe756bbf27486af15bc99966ab3557c866f21ba1c3bc53abc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-10T12:06:01.000Z",
      "distro": "noble",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "631b5be39f8c198b3081c6fc2eb5ca09ddba799118f08955756f33222f2f4b37",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-10T12:03:21.000Z",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "235e778dedc2d432d307d5a10e2987ca097056892d21378a6f9d0ab550782ffd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-10T12:03:15.000Z",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "f17e9c51c2eb1c6cc65bbe0026e3ace1455b5547658bae90b4d7e9b84b9744ac",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-10T12:02:50.000Z",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "3ce2222202718889a497d5966c43c973eb27aed98c325c977f0a2f79d3628ce8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-10T12:02:52.000Z",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "58845747fe22d49492f19c529e18f00d2d79dbe6df69f9488d1643a0e1bc3eab",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-10T12:02:41.000Z",
      "commit": "4657b2fc9ce38a9c7a5309cbb4cea43fa65f7f91",
      "fileid": "f08ed79086e4f0f4f92ee38a1a46d470767e0b49cf0734d5798444b1072d88ed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/27274379273"
    }
  ]
}