edm.Rmd
library(edm)
library(ggplot2)
library(intervalAlgebra)
#>
#> Attaching package: 'intervalAlgebra'
#> The following object is masked from 'package:stats':
#>
#> end
<- read_edm(file(system.file("example_events.jsonl", package = "edm")))
edm #> opening file input connection.
#>
6 records...
Found 6 records. Simplifying...
Imported #> closing file input connection.
ggplot(data = edm) +
geom_interval(aes(interval = interval, y = domain)) +
scale_interval_continuous() +
theme_classic() +
theme(
axis.title.x = element_blank()
)