## Not run:
#
# # create a Loader
# obj.L<-dataLoader();
#
# # Load a .csv
# obj.L$load.csv(nomeFile = "../otherFiles/mammella.csv",
# IDName = "CODICE_SANITARIO_ADT",
# EVENTName = "DESC_REPARTO_RICOVERO",
# dateColumnName = "DATA_RICOVERO")
#
# # get the loaded data
# dati <- obj.L$getData()
#
# # build a Second Order Marvov Model with a threshold of 0.2
# SOMM <- secondOrderMarkovModel(
# parameters.list = list("threshold"=0.002))
#
# # load the data
# SOMM$loadDataset(dataList = dati)
#
# # train a model
# SOMM$trainModel()
#
# # generate 10 new processes (nb: if the
# # threshold is too low, it can fail...)
# aaa <- SOMM$play(numberOfPlays = 10)
#
# # get the transition matrix
# TranMatrix <- SOMM$getModel(kindOfOutput = "MM.2.Matrix.perc")
#
#
# ## End(Not run)
Run the code above in your browser using DataLab