PsyLingLLM: Controlled Psycholinguistic Experiments with Large Language
Models
Runs controlled psycholinguistic, psychological, cognitive, and
educational experiments with large language models. Registry-based
configuration separates models, providers, and application programming
interfaces so that compatible services can share experimental designs.
Functions support randomized and factorial trials, multi-turn conversations,
response and reasoning capture, timing and token measurements, and structured
result export. For methodological context on using language models as
experimental participants, see Dillion et al. (2023)
<doi:10.1016/j.tics.2023.04.008>.
| Version: |
0.4.0 |
| Depends: |
R (≥ 4.0) |
| Imports: |
curl, writexl, dplyr (≥ 1.1.0), tibble (≥ 3.2.0), jsonlite (≥ 1.8.0), magrittr, yaml, readr, readxl, openxlsx, stringr, stats, utils, stringi |
| Suggests: |
jsonvalidate, testthat (≥ 3.0.0), withr |
| Published: |
2026-11-11 |
| DOI: |
10.32614/CRAN.package.PsyLingLLM (may not be active yet) |
| Author: |
Han Ming [aut, cre] |
| Maintainer: |
Han Ming <hanmingpsy at gmail.com> |
| BugReports: |
https://github.com/HanMingPsy/PsyLingLLM-R/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/HanMingPsy/PsyLingLLM-R |
| NeedsCompilation: |
no |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
PsyLingLLM results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=PsyLingLLM
to link to this page.