Learn R Programming

optismixture (version 0.1)

alpha2N: 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

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