alpha2N: Internal function. convert mixture proportions to mixture...

Description Usage Arguments Value

View source: R/batch_opt.R

Description

Internal function. convert mixture proportions to mixture sample size with a fixed total sample size

Usage

1
alpha2N(n, alpha)

Arguments

n

total number of samples

alpha

the vector of mixture proportions

Value

the vector of sample sizes for each mixture component


optismixture documentation built on May 29, 2017, 1:02 p.m.