initialize_mixing_prop: Function for initializing mixing proportions.

Description Usage Arguments Author(s)

View source: R/mouthwash.R

Description

Function for initializing mixing proportions.

Usage

1
2
3
4
5
initialize_mixing_prop(
  pi_init_type = c("zero_conc", "uniform", "random"),
  zero_spot,
  M
)

Arguments

pi_init_type

How should we initialize the mixing proportions? By concentrating on zero ("zero_conc"), by equal weights on all mixing distributions ("uniform"), or by sampling uniformly on the simplex ("random")?

zero_spot

The location of the zero.

M

The number of mixing distributions.

Author(s)

David Gerard


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.