Unlimited learning, half price | 50% off
Get 50% off unlimited learning

ggdmc (version 0.2.5.2)

random: Generate random variates of various cognitive models

Description

A wrapper function to rd, norm, norm_pda, norm_pda_gpu, plba0_gpu, plba1, plba_gpu, plba2, plba3, lnr, and cnorm models.

Usage

random(type, pmat, n, seed = NULL)

Arguments

type

a character string indicating the model type

pmat

a matrox of accumulator x parameter

n

number of simulations

seed

an integer specifying if and how the random number generator should be initialized.