randN {cbcTools}R Documentation

Define a prior (assumed) model parameter as normally-distributed.

Description

Define a prior (assumed) model parameter as normally-distributed. Used in the cbc_choices() function.

Usage

randN(mean = 0, sd = 1)

Arguments

mean

Vector of means, defaults to 0.

sd

Vector of standard deviations, defaults to 1.

Value

A list defining normally-distributed parameters of the prior (assumed) utility model used to simulate choices in the cbc_choices() function.

Examples

# Insert example

[Package cbcTools version 0.5.0 Index]