Description Usage Arguments Examples
View source: R/precedence_matrix.R
Construct a precendence matrix, showing how activities are followed by each other.
| 1 2 | precedence_matrix(eventlog, type = c("absolute", "relative",
  "relative_antecedent", "relative_consequent"))
 | 
| eventlog | The event log object to be used | 
| type | The type of precedence matrix, which can be absolulte, relative, relative_antecedent or relative_consequent. Absolute will return a matrix with absolute frequencies, relative will return global relative frequencies for all antecedent-consequent pairs. Relative_antecedent will return relative frequencies within each antecendent, i.e. showing the relative proportion of consequents within each antecedent. Relative_consequent will do the reverse. | 
| 1 2 3 4 5 6 | ## Not run: 
library(eventdataR)
data(patients)
precedence_matrix(patients)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.