Description Usage Arguments Examples
A loader for csv based log files. It also calculates the footprint table, transition matrix probabilities, and presents data in different shapes. The public methods are:
dataLoader() the costructor
load.csv( ... ) loads the csv file into the dataLoader object
load.data.frame() loads a data.frame into the dataLoader object
getData() return the processed, previously-loaded, data
removeEvents() remove the events in the array passed as argument (dual of dataLoader::keepOnlyEvents() )
keepOnlyEvents() keep only the events in the array passed as argument (dual of dataLoader::removeEvents() )
addDictionary() add a dictionary in order, afterward, to translate or group some event name
getTranslation() perform a translation applying the given dictionary to the loaded csv or data.frame
plot.Timeline() plot the timeline of the events regarding a single patient
In order to better undestand the use of such methods, please visit: www.pminer.info
The consturctor admit the following parameters:
verbose.mode are some notification wished, during the computation? The defaul value is true
1 | dataLoader(verbose.mode = TRUE)
|
verbose.mode |
boolean. If TRUE some messages will appear in console, during the computation; otherwise the computation will be silent. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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")
# return the results
obj.L$getData()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.