mApplyBern: Calculate Bernoulli likelihood row-wise for binary events...

Description Usage Arguments Value

View source: R/mvc-utils.R

Description

Calculate Bernoulli likelihood row-wise for binary events

Usage

1
mApplyBern(X, prob)

Arguments

X

a matrix of binary events (row-wise)

prob

the Bernoulli probability vector (along events)

Value

a matrix of Bernoulli likelihoods


mvc documentation built on May 2, 2019, 11:27 a.m.