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

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