getPolicyW {MDP} | R Documentation |
Get parts of the optimal policy weights.
getPolicyW(mdp, iW, sId=1:mdp$states - 1)
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. |
The weights (matrix (if labels = FALSE
) otherwise data frame).
Lars Relund lars@relund.dk