set_initial_gibbs_values: Set initial values for the Gibbs sampler.

Description Usage Arguments Value

View source: R/set_initial_gibbs_values.R

Description

This function sets initial values for the Gibbs sampler.

Usage

1
set_initial_gibbs_values(N, T, J, P_f, P_r, C)

Arguments

N

The number (greater or equal 1) of decision makers.

T

The number (greater or equal 1) of choice occasions or a vector of choice occasions of length N (i.e. a decision maker specific number).

J

The number (greater or equal 2) of choice alternatives.

P_f

The number of covariates connected to a fixed coefficient (can be 0).

P_r

The number of covariates connected to a random coefficient (can be 0).

C

The number (greater or equal 1) of latent classes.

Value

A list of initial values for the Gibbs sampler.


RprobitB documentation built on Nov. 12, 2021, 5:08 p.m.