Description Usage Arguments Examples
View source: R/cluster_expectationMaximization.R
This class provides some descriptive statistics about the log:
costructor( ...)
is the costructor of the class
loadDataset( ...)
loads data into a logInspector object. It takes as input the output of the method getData from an instance of the classe dataLoader. It stores the logs and built,internally to the logInspector object, all the structures needed for the next computations.
getEventStats()
returns a list containing event-related stats
getProcessStats()
returns a list containing process-related stats
plotEventStats( ... )
plots event-related stats (takes a custom number of most frequent events it has to plot)
plotProcessStats( ... )
plots process-related stats (takes a custom number of most frequent processes it has to plot)
1 |
Parameters |
for plot methods is:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run:
# -----------------------------------------------
# USING THE METHODS of the class
# -----------------------------------------------
obj.L<-dataLoader(); # create a Loader
# Load a .csv using "DES" and "ID" as column names to indicate events
# and Patient's ID
obj.L$load.csv(nomeFile = "./otherFiles/test_02.csv",
IDName = "ID",EVENTName = "DES")
# now create an object logInspector
obj.logI<-logInspector();
# load the data into logInspector object
obj.logI$loadDataset( obj.L$getData() );
# get event-related descriptive statistics
logI$getEventStats();
# get process-related descriptive statistics
logI$getProcessStats();
# plot event-related descriptive statistics
logI$plotEventStats();
# plot process-related descriptive statistics
logI$getProcessStats();
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.