selfInformation: This function computes the self-information of an observed...

Description Usage Arguments Value

Description

This function computes the self-information of an observed value provided the probability of the event.

Usage

1

Arguments

prob

A vector representing the probability of each event.

Value

Vector of the same length as the input representing the self information of the event.


mkao006/sws_flag documentation built on May 23, 2019, 1:05 a.m.