randN: Define a prior (assumed) model parameter as...

View source: R/choices.R

randNR 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

jhelvy/cbcTools documentation built on Feb. 5, 2024, 2:52 p.m.