Description Usage Arguments Value Author(s) Examples
Info about the actions in the HMDP model under consideration.
1 2 3 4 | actionInfo(prefix = "", file = "actionIdx.bin",
weightFile = "actionWeight.bin",
transPrFile = "transProb.bin",
labels = "actionIdxLbl.bin")
|
prefix |
A character string with the prefix added to til file(s). |
file |
The HMDP binary file containing the description under consideration. |
labels |
The HMDP binary file containing the labels under consideration. |
weightFile |
The HMDP binary file containing the action costs. |
transPrFile |
The HMDP binary file containing the transition probabilities. |
A matrix with columns from actionIdxMat
,
actionCostMat
and transProbMat
if labels is
NULL. If labels not are NULL then a data frame are
returned with a label column too.
Lars Relund lars@relund.dk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | wDir<-getwd()
setwd(system.file("models", package = "MDP"))
prefix<-"machine1_"
stateIdxMat(prefix)
stateIdxDf(prefix)
actionIdxMat(prefix)
actionIdxDf(prefix)
actionWeightMat(prefix)
weightNames(prefix)
transProbMat(prefix)
a<-actionInfo(prefix)
a[order(a$sId),]
setwd(wDir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.