log_part_B: The log-partation function of Bernoulli distribution

Description Usage Arguments Value Examples

Description

This function define the log-partation function of Bernoulli distribution. The formula is log_part_B(Theta) = log(1+exp(Theta)). Details can be found in https://arxiv.org/abs/1902.06241.

Usage

1
log_part_B(Theta)

Arguments

Theta

a matrix of natural parameter

Value

The value of the corresponding log-partation function

Examples

1
## Not run: log_part_B(matrix(0:9,2,5))

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.