Blog
I post about programming languages, data visualization, statistical modelling, and my recent research. Feel free to contact me if you have any question about these posts.
Reprodown: An R package for reproducible data analysis
5 minReplicability and reproducibility Reproducibility and replicability play important roles in science to confirm new discoveries and to extend our understanding of the natural world. Both are about getting consistent results; the former using mainly the same data, methods and code; while the latter across studies aiming to answer the same scientific question with different collected data and methods (National Academies of Sciences, Engineering, and Medicine; 2019).
blogdown GNU make hugoVisualizing extreme events with ggplot2
5 minWhen working with time series, sometimes, it is desired to highlight some events with some particular pattern. For example, highlight periods of time where the variable on interest exceed certain threshold or conversely. With this in mind, I extended an stat of ggplot2 to allow easy visualization of those events.
ggplot2 tidyverse R