Package: FocusGroup 0.5.6

Ali Sanaei

FocusGroup: Focus Group Simulation Using LLM Agents

Moderated focus group discussions simulated with large language models (LLMs). Participants carry personas built from respondent records or labeled survey files. A session runs under a specified turn-taking rule, and one turn can be experimentally manipulated to measure its effect on the next.

Authors:Ali Sanaei [aut, cre]

FocusGroup_0.5.6.tar.gz
FocusGroup_0.5.6.zip(r-4.7-any)FocusGroup_0.5.6.zip(r-4.6-any)
FocusGroup_0.5.6.tar.gz(r-4.7-any)FocusGroup_0.5.6.tar.gz(r-4.6-any)
FocusGroup_0.5.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
FocusGroup/json (API)

# Install 'FocusGroup' in R:
install.packages('FocusGroup', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/asanaei/focusgroup/issues

Pkgdown/docs site:https://asanaei.github.io

Datasets:
  • anes_2024_personas - Persona profiles of 100 respondents to the ANES 2024 Time Series Study

On CRAN:

Conda:

3.38 score 12 scripts 373 downloads 22 exports 53 dependencies

Last updated from:eed540742d. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK272
source / vignettesOK278
linux-releaseOK292
windows-develOK356
windows-releaseOK341
wasm-releaseOK142

Exports:analyze_focus_groupConversationFlowcreate_agentscreate_agents_from_datacreate_agents_from_surveycreate_conversation_flowfg_after_itemfg_before_turnfg_default_na_stringsfg_injectionfg_playerfg_probefg_turnsFGAgentfocus_group_from_transcriptFocusGroupget_default_prompt_templatespersona_rendering_reportrun_focus_grouprun_focus_group_armsrun_focus_studiosummarize_focus_group

Dependencies:askpassbase64encbitbit64cachemclicliprcodetoolscpp11crayoncurldigestdplyrfastmapforcatsfuturefuture.applygenericsglobalsgluehavenhmshttr2jsonlitelifecyclelistenvLLMRmagrittrmemoisemimeopensslparallellypillarpkgconfigprettyunitsprocessxprogresspspurrrR6readrrlangstringistringrsystibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Focus Group Analysis
Analyze simulated and imported transcripts | Run a focus group | Run descriptive analysis offline | Opt in to model analysis | Import and analyze an existing transcript | Summarize a discussion | Replay a session | Construct the objects directly | Interpretation

Last update: 2026-10-30
Started: 2026-09-12

FocusGroup Architecture
Architecture | Main functions | Offline execution and replay | Running a session | Messages and prompts | Stored data | Analysis | Extending the package

Last update: 2026-10-30
Started: 2026-09-12