Youngseok Song
Youngseok Song
About
Publications
Software
Teaching
Posts
Light
Dark
Automatic
Posts
Cartoon by EPFL & UNIL students about misleading data visualization
I would like to introduce a cartoon created by two students from EPFL and one student from UNIL. This is a part of their semester project for the critical data studies class.
Last updated on Aug 19, 2022
1 min read
Data visualization
,
Science communication
Sprase Matrix objects in R
In this post, we take a look sparse matrix objects in R in terms of object size. If most of entries in a matrix are 0, we call the matrix is sparse.
Last updated on Jun 16, 2022
2 min read
R
Profiling R code: microbenchmark vs bench
Wickham (2019) is a nice book if you want to learn more about R programming. In Chapter 24, it covers R codes profiling. For profiling codes, the author uses bench package, which I have never used.
Last updated on Nov 1, 2021
3 min read
R
Generating multivariate normal samples
Generating multivariate normal sample is important for simulation studies. MASS::mvrnorm() is one of the commonly used functions to generate such random sample (Venables and Ripley 2002). However, it is often ignored that the function is not the fastest way due to error handling parts.
Last updated on Nov 1, 2021
7 min read
R
Cite
×