Learn R Programming

combinat (version 0.0-8)

dmnom: density of multinomial, and support functions

Description

density of multinomial

Usage

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

Arguments

x
vector
size
total
prob
parameter vector (sums to 1)

Examples

Run this code
 dmnom(c(1,1,4,4),10,c(.2,.2,.3,.3))

Run the code above in your browser using DataLab