indicator_times_value_aux {SeaVal}R Documentation

Auxiliary function for multiplying two numbers such that 0 x infty is 0. Needed for the ignorance score: 0log(0) should be 0.

Description

Auxiliary function for multiplying two numbers such that 0 x infty is 0. Needed for the ignorance score: 0log(0) should be 0.

Usage

indicator_times_value_aux(indicator, value)

Arguments

indicator

logical input vector

value

numeric input vector

Value

indicator x value with 0*infty = 0


[Package SeaVal version 1.2.0 Index]