This blog is an effort to document short-cuts, tricks and methods.
Often when writing code, I run into a situation where I get stumped or know there must be a short-cut to what I’m writing. After an internet search and decision of the best option for me, I incorporate the short-cut into my own code. However, if I need that short-cut again in the future and I don’t remember the details, then I either have to search through my codes to find the short-cut or repeat the internet search process.
Usually I’m left with a less than optimum code. Either because I forgot any of my own tricks incorporated into the shortcut, or I find an alternative short-cut that wasn’t as good as the original. Thus, this blog will document short-cuts and tricks that I can use to reference in the future. While intended to document my own work, my hope is that others can jump in and get what they need to help with their own code.
While the two platforms I use most often are R (for statistics and data analysis) and SQL (for database queries), my intention is to include methods for Excel, Power BI and Power Automate as well.
About me
After spending most of my life in academia as a student, researcher and educator, I went to work as a statistician and data analyst. Hi, my name is Matthew Janczak and I am The Lost PhD.
My PhD was awarded in chemistry from the University of Utah. My dissertation can be found here:
Before my doctoral studies, I received a Masters in Applied Statistics from the Rochester Institute of Technology.