replicate.sim.by.param: Repeat data simulation for multiple levels of a parameter

Description Usage Arguments Value

Description

Repeat data simulation for multiple levels of a parameter

Usage

1

Arguments

type

A string indicating the label for the type of task to be replicated. Currently supports "psychophysics.2afc", "sdt.dprime", "mean.normal", and "diff.normal".

...

arguments ultimately passed to the workhorse single simulation function specified by type. For "psychophysics.2afc", please see the help for one.sim.psyphys2afc. For "sdt.dprime", please see the help for one.sim.sdt.dprime. For "mean.normal", please see the help for one.sim.mean.normal. For "diff.normal", please see the help for one.sim.diff.normal.

Value

a long dataframe containing the performance parameter estimates from each simulated task run, labeled by the varying parameter of interest.


monicathieu/psytrial documentation built on May 28, 2019, 1 p.m.