Learn R Programming

brr (version 1.0.0)

summary_nbinom: Summary of a Negative Binomial distribution

Description

Mode, mean, variance, and quartiles for a Negative Binomial distribution with shape parameter size and probability parameter prob.

Usage

summary_nbinom(size, prob, output = "list", ...)

Arguments

size,prob
parameters of the negative binomial distribution (as for NegBinomial)
output
"list" to return a list, "pandoc" to print a table
...
arguments passed to pander.data.frame

Examples

Run this code
summary_nbinom(size=2, prob=0.4, output="pandoc", style="rmarkdown")

Run the code above in your browser using DataLab