dmnom: density of multinomial, and support functions

Description Usage Arguments Author(s) Examples

Description

density of multinomial

Usage

1
dmnom(x, size=sum(x), prob=stop("no prob arg"))

Arguments

x

vector

size

total

prob

parameter vector (sums to 1)

Author(s)

code by Scott Chasalow, R pack and maint by VJ Carey <stvjc@channing.harvard.edu>

Examples

1
 dmnom(c(1,1,4,4),10,c(.2,.2,.3,.3))

Example output

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn

[1] 0.01653372

combinat documentation built on May 2, 2019, 5:57 a.m.

Related to dmnom in combinat...