exp_v: Take the exponent of V

View source: R/probability-helpers.R

exp_vR Documentation

Take the exponent of V

Description

Takes the exponent of V while at the same time restricts the utility of unavailable alternatives to 0. This ensures that summing of utilities is only over alternatives in the consideration set.

Usage

exp_v(V, alt_avail)

Arguments

V

A list of utilities

alt_avail

A list of alternative availabilities


edsandorf/cmdlR documentation built on Jan. 17, 2024, 12:33 a.m.