Learn R Programming

DCEM (version 2.0.5)

get_priors: get_priors: Part of DCEM package.

Description

Initialize the priors.

Usage

get_priors(num_priors)

Arguments

num_priors

(numeric): Number of priors one corresponding to each cluster.

Value

A vector of uniformly initialized prior values (numeric).

Details

For example, if the user specify 2 priors then the vector will have 2 entries (one for each cluster) where each will be 1/2 or 0.5.