random {ggdmc}R Documentation

Generate random numbers

Description

A wrapper function for generating random numbers of either the model type, rd, or norm.

Usage

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

Arguments

type

a character string of the model type

pmat

a matrix of response x parameter

n

number of observations

seed

an integer specifying a random seed


[Package ggdmc version 0.2.6.0 Index]