cluster_expectationMaximization: logInspector class

Description Usage Arguments Examples

View source: R/cluster_expectationMaximization.R

Description

This class provides some descriptive statistics about the log:

Usage

1

Arguments

Parameters

for plot methods is:

  • num the number of most frequent events/processes to plot

Examples

 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)

kbolab/pMineR documentation built on May 20, 2019, 8:10 a.m.