Description Usage Arguments Value Examples
View source: R/response_files.R
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.
1 | simulate_category_guess(nruns = 10000)
|
nruns |
Number of simulation runs. |
A vector of length nruns
with the number of correct guesses.
1 2 3 | n_correct <- simulate_category_guess(1000)
hist(n_correct)
mean(n_correct)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.