Simulates one cycle of the PCR process.

1 | ```
rmultinomxl(n, size, prob, check = TRUE, debug = FALSE)
``` |

`n` |
numeric vector with number of observations. |

`size` |
numeric vector specifying the number of molecules going into the PCR cycle. |

`prob` |
numeric non-negative matrix of size (x x K) specifying the probability for the K classes. |

`check` |
logical for extended checking of parameters. |

`debug` |
logical to print debug information. |

Generate multinomially distributed random number vectors using `rmultinomial`

.
Handles integer overflow by splitting numbers in chunks and call `rmultinomial`

repeatedly.

matrix with simulated results

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.