rmultinomxl: Vectorized Multinomial Distribution For Large Numbers

Description Usage Arguments Details Value

Description

Simulates one cycle of the PCR process.

Usage

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

Arguments

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.

Details

Generate multinomially distributed random number vectors using rmultinomial. Handles integer overflow by splitting numbers in chunks and call rmultinomial repeatedly.

Value

matrix with simulated results



Search within the pcrsim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.