Learn R Programming

MDPtoolbox (version 4.0.4)

mdp_span: Evaluates the span of a vector

Description

Computes the span of a vector.

Usage

mdp_span(W)

Value

the value of the span of the W vector.

Arguments

W

a vector.

Details

mdp_span computes the span of the W vector: max W(s) - min W(s)