simulate_category_guess: Simulate Guessing During the Categorization Task

Description Usage Arguments Value Examples

View source: R/response_files.R

Description

Run simulations tabulating the number of correct guesses assuming a participant is just guessing during the categorization task. This can be used to estimate a chance baseline on the 64 categorization trials.

Usage

1
simulate_category_guess(nruns = 10000)

Arguments

nruns

Number of simulation runs.

Value

A vector of length nruns with the number of correct guesses.

Examples

1
2
3
n_correct <- simulate_category_guess(1000)
hist(n_correct)
mean(n_correct)

truthiness documentation built on May 24, 2021, 9:07 a.m.