msg_len_add: Auxiliary function to msg_len_ave()

Description Usage Arguments Value

View source: R/msg_len_add.R

Description

This function uses message lengths to calculate the weighted averaged probability and returns an averaged message length based on this weighted averaged probability.

Usage

1

Arguments

x

The message length of one model.

y

The message length of another model.

Value

The function outputs the averaged message length in natural log.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.