Skip to main content

Table 1 Package functions for pmultinom. This table lists the R functions for the package “pmultinom” for calculating multinomial probabilities

From: SCOPIT: sample size calculations for single-cell sequencing experiments

Function

Arguments

Description

pmultinom

lower, upper, size, probs, method

Probability that a multinomial random vector is elementwise greater than “lower” and elementwise less than or equal to “upper”. “size” and “probs” specify the parameters of the multinomial distribution. Either “lower” or “upper” may be left unspecified.

invert.pmultinom

lower, upper, probs, target.prob, method

Returns the “size” parameter required for pmultinom to reach the target probability “target.prob”.