Michael Luu, MPH
Blog
Publications
Presentations
Categories
All
(30)
advent of code
(13)
dashboard
(1)
gis
(1)
leaflet
(1)
machine learning
(1)
networkD3
(1)
nlp
(1)
pandas
(1)
pca
(1)
programming
(4)
python
(2)
quarto
(4)
scikit-learn
(1)
shinylive
(2)
survival analysis
(1)
tidymodels
(1)
tidytuesday
(3)
visualization
(6)
webr
(1)
Blog
Order By
Default
Title
Date - Oldest
Date - Newest
Author
Advent of Code 2024, Day 1
advent of code
The following is the solution for AoC 2024 Day 1.
Michael Luu
Dec 1, 2024
R Environments
programming
The following blog post hopes to demystify the concept of environments in R.
Michael Luu
Feb 27, 2024
Quarto Dashboard
quarto
dashboard
The following blog post is a demonstration of the new dashboard feature released in quarto 1.4. The following dashboard was built using quarto, with simple interactivity…
Michael Luu
Feb 15, 2024
Scikit-Learn Practice From the Perspective of an R User
python
scikit-learn
One of the premiere machine learning modules in python is
scikit-learn
and it’s going to be the first place I’m going to start in my journey of learning the python language.…
Michael Luu
Feb 2, 2024
Pandas Practice From the Perspective of an R User (Part 1)
python
pandas
One of the most fundamental skillset in data science is the ability to pre process data and get it into a format that is suitable for analysis. In R, the
tidyverse
package…
Michael Luu
Jan 29, 2024
Co-author Network Analysis with networkD3
visualization
networkD3
This is post was largely inspired by the advent of code 2023 day 25 puzzle which largely involved network analysis. I thought it would be a fun visualization to visualize…
Michael Luu
Jan 23, 2024
Advent of Code 2023, Day 25
advent of code
This was a fun puzzle! The moment I read the puzzle prompt I instantly thought of network analysis. I used the
networkD3
package to visualize the network and the
igraph
packa…
Michael Luu
Dec 25, 2023
Advent of Code 2023, Day 15
advent of code
Another fairly straight forwad puzzle. We are given an algorithm that we need to follow. The algorithm is as follows:
Michael Luu
Dec 24, 2023
Advent of Code 2023, Day 12
advent of code
This is a fairly straightforward puzzle. The trickiest part of this puzzle is writing out the regex to match the proper conditions, based on the arragnements.
Michael Luu
Dec 23, 2023
Advent of Code 2023, Day 9
advent of code
Part 1 of this puzzle is fairly straight forward. The goal of Part 1 is to identify the next number in the ‘history’. In order to identify the next value in the history, we…
Michael Luu
Dec 10, 2023
Advent of Code 2023, Day 8
advent of code
This was definitely a fun puzzle. As always, lets start off with reading in the puzzle input, and tidy it up into something we can work with.
Michael Luu
Dec 9, 2023
Advent of Code 2023, Day 7
advent of code
Time for some Camel Cards (Poker)! This was a fun puzzle, that really made me think outside of the box.
Michael Luu
Dec 8, 2023
Advent of Code 2023, Day 6
advent of code
What is going on with these puzzles?! Difficulty dropped quite a bit again for the even day puzzles.
Michael Luu
Dec 7, 2023
Advent of Code 2023, Day 5
advent of code
Let’s just say this puzzle made my processor go BRRRRRRRRRRRRR.
Michael Luu
Dec 6, 2023
Advent of Code 2023, Day 4
advent of code
The complexity of this puzzle dropped a bit for Day 4. Definitely wasn’t as difficulty as Day 3.
Michael Luu
Dec 5, 2023
Advent of Code 2023, Day 3
advent of code
Wow what a doozie, the increase in difficulty was significant compared to Day 2. This was a fun one though, I think I could have done it in a more efficient way, but I was…
Michael Luu
Dec 4, 2023
Advent of Code 2023, Day 2
advent of code
The solution for Part 1 was actually quite simple. The major complexity of this puzzle is due to the data not being in a ‘tidy’ format. The majority of the code below is…
Michael Luu
Dec 3, 2023
Advent of Code 2023, Day 1
advent of code
It’s the season for Advent of Code 2023. Advent of code is an ‘advent calendar’ of small programming puzzles that begins on 12/1 of every year and last until Christmas…
Michael Luu
Dec 2, 2023
Haunted Los Angeles - Interactive Mapping using Leaflet
tidytuesday
leaflet
gis
visualization
The following blog post is a very simple visualization using the data from tidytuesday 2023, week 41. This visualization uses the leaflet library to produce a very simple…
Michael Luu
Nov 21, 2023
Principal Component Analysis (PCA) of Taylor Swift Discography
tidytuesday
visualization
pca
This is a quick PCA of Taylor Swift’s discography using the dataset from the tidytuesday 2023, week 42. PCA is a technique used to reduce high dimensional data into…
Michael Luu
Nov 20, 2023
Secret Santa Randomizer using ShinyLive 🎅🎄🎁
shinylive
It’s the time of year for giving 🎅🎄🎁
Michael Luu
Nov 19, 2023
Implementation of ShinyLive in Quarto
shinylive
quarto
The following blogpost is an example implementation of ShinyLive.
Michael Luu
Nov 15, 2023
Implementation of WebR in Quarto
quarto
webr
WebR is a web implementation of the R statistical software in a web browser built using the Node.js and WebAssembly framework. The official documentation will have a better…
Michael Luu
Nov 15, 2023
Meta-programming with R and rlang
programming
rlang
is a powerful R package that allows the coder the ability to write code with code. The amazing book Advanced R by Hadley Wickham goes into this idea in much greater…
Michael Luu
May 10, 2023
Programatically generate Quarto tabs
quarto
programming
Utilizing purrr to programatically generate tabs to organize and present a large list of outputs
Michael Luu
Apr 13, 2023
Retrieve Pubmed publications using the RefManageR package
programming
For anyone that’s working in academia, it may be useful to keep a tabulation of all of the publications that you are a co-author of. We can use the
RefManageR
package, which…
Michael Luu
Apr 13, 2023
Publication Quality Kaplan-Meier Survival Curves using ggplot2
visualization
survival analysis
The Kaplan-Meier (KM) survival curves are a hallmark figure that is commonly used to illustrate “time to event” analysis in clinical research. In this illustrative example…
Michael Luu
Oct 14, 2020
My life in Months - Making a ‘life plot’ in R using ggplot2
visualization
This blog post is inspired by
Sharla Gefland
twitter post found…
Michael Luu
Oct 7, 2020
Recreating the New York Times mask utilization survey data with the R opensource Leaflet package
visualization
Recreating the New York Times mask utilization survey data with the R opensource Leaflet package
Michael Luu
Oct 4, 2020
Natural Language Processing (NLP) and developing a machine learning classifier on Beyonce and Taylor Swift lyrics #TidyTuesday
nlp
machine learning
tidymodels
tidytuesday
NLP and building a machine learning clasifier on Beyonce and Taylor Swift Lyrics #TidyTuesday
Michael Luu
Oct 2, 2020
No matching items