dm_expected: Calculate the expected probabilities

Description Usage Arguments Value Examples

View source: R/fitting.R

Description

Calculate the probabilities conditioned on parameters alpha more likely to generate dataset X

Usage

1
dm_expected(X, alpha)

Arguments

X

count data set

alpha

paramater alpha

Value

the expected probabilities

Examples

1
2
3
4
X = rnormalmultinomial(100, 100, rep(0,4), diag(4))
fit = dm_fit(X)
P = dm_expected(X, fit$alpha)
head(P)

mcomas/normalmultinomial documentation built on May 22, 2017, 1:14 a.m.