Learn R Programming

edeaR

This package provides several useful techniques for Exploratory and Descriptive Analysis of event based data in R.

For more information, check the manual on GitHub or the bupaR Documentation website.

Installation

You can install edeaR from CRAN with:

install.packages("edeaR")

Development Version

You can install the development version of edeaR from GitHub with:

# install.packages("devtools")
devtools::install_github("bupaverse/edeaR")

Example

library(edeaR)
#> 
#> Attaching package: 'edeaR'
#> The following object is masked from 'package:base':
#> 
#>     setdiff
library(eventdataR)
#> Warning: package 'eventdataR' was built under R version 4.2.3

# Calculate idle times per resource:
patients %>%
  idle_time(level = "resource", units = "days")
#> # A tibble: 7 × 2
#>   employee idle_time    
#>   <fct>    <drtn>       
#> 1 r7       464.4199 days
#> 2 r1       450.2124 days
#> 3 r4       442.6260 days
#> 4 r5       430.1764 days
#> 5 r3       429.1064 days
#> 6 r6       425.5362 days
#> 7 r2       214.7436 days

Copy Link

Version

Install

install.packages('edeaR')

Monthly Downloads

1,270

Version

0.9.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gert Janssenswillen

Last Published

April 27th, 2023

Functions in edeaR (0.9.4)

filter_case_condition

Filter Case Condition
edeaR

edeaR - Exploratory and Descriptive Event-based data Analysis in R
filter_activity

Filter Activity
filter_activity_instance

Filter Activity Instance
filter_endpoints

Filter Start and End Activities
filter_case

Filter Case
filter_activity_presence

Filter Activity Presence
end_activities

End activities
filter_activity_frequency

Filter Activity Frequency
filter_endpoints_condition

Filter Start and End Conditions
filter_idle_time

Filter Idle Time
filter_lifecycle_presence

Filter Life Cycle Presence
filter_resource

Filter Resource
filter_precedence_condition

Filter Precedence Relations
filter_lifecycle

Filter Life Cycle
filter_processing_time

Filter Processing Time
filter_precedence

Filter Precedence Relations
filter_infrequent_flows

Filter Infrequent Flows
filter_precedence_resource

Filter Precedence Relations with Identical Resources
filter_flow_time

Filter directly follows with time interval
filter_trace_length

Filter Trace Length
filter_time_period

Filter Time Period
filter_trace_frequency

Filter Trace Frequency
filter_throughput_time

Filter Throughput Time
ifilter_activity

ifilter functions
filter_trace

Filter Trace
filter_trim_lifecycle

Filter Trim Life Cycle
filter_trim

Trim Cases
idle_time

Idle Time
filter_resource_frequency

Filter Resource Frequency
reexports

Objects exported from other packages
number_of_traces

Number of Traces
redo_repetitions_referral_matrix

Referral matrix repetitons
plot

Plot Methods
resource_frequency

Resource Frequency
number_of_repetitions

Number of Repetitions
processing_time

Processing Time
print.work_schedule

Print work schedule
redo_selfloops_referral_matrix

Referral matrix selfloops
number_of_selfloops

Number of Self-loops
throughput_time

Throughput Time of Cases
trace_coverage

Trace Coverage
resource_specialisation

Resource Specialisation
trace_length

Trace Length
setdiff

Set operations
start_activities

Start Activities
size_of_selfloops

Metric: Size of selfloops
resource_involvement

Resource Involvement
size_of_repetitions

Metric: Size of repetitions
calculate_queuing_length

Calculate queuing length
activity_frequency

Activity Frequency
add_floating_holiday

Add floating holiday to work schedule
add_fixed_holiday

Add fixed holiday to work schedule
activity_presence

Metric: Activity Presence
change_day

Adjust days in work schedule
create_work_schedule

Create work schedule
augment

Augment Log
calculate_queuing_times

Calculate queuing times
add_holiday_periods

Add holiday period to work schedule