getPolicyW {MDP}R Documentation

Get parts of the optimal policy weights.

Description

Get parts of the optimal policy weights.

Usage

getPolicyW(mdp, iW, sId=1:mdp$states - 1)

Arguments

mdp The MDP loaded using loadMDP.
iW Vector of weight indices.
sId Vector of id's of the states we want to retrive.
labels If true return policy labels otherwise return action index.

Value

The weights (matrix (if labels = FALSE) otherwise data frame).

Author(s)

Lars Relund lars@relund.dk


[Package MDP version 1.0 Index]