optismixture index

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

1 | ```
alpha2N(n, alpha)
``` |

`n` |
total number of samples |

`alpha` |
the vector of mixture proportions |

the vector of sample sizes for each mixture component

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.