Matt Kmiecik
@mattkmiecik.bsky.social
š¤ 194
š„ 343
š 135
Neuroscientist studying Parkinson's disease | check out my
#rstats
website:
https://mattkmiecik.com/
pinned post!
R is my favorite programming language! When reflecting on my R journey, I realized that how I name objects has changed over the years, and this change reflects a difference in how I approach my workflows (and some serious laziness in typing).
#rstats
Post:
mattkmiecik.substack.com/p/creating-o...
8 months ago
3
9
2
Maximizing information while minimizing clutter is key to a great figure. In this post, I cover my approach for various figures throughout the years. Read more:
mattkmiecik.substack.com/p/my-favorit...
#rstats
#dataviz
#science
#publishing
loading . . .
My favorite figures (to date)
In my previous post, I discussed my pipeline for making publication-ready figures.
https://mattkmiecik.substack.com/p/my-favorite-figures-to-date
3 months ago
0
3
1
ggplot2 is powerful, but not always pretty. š¬ Thatās why I use Omnigraffle for final figure touchesācleaner legends, custom labels, and full control over design. Full workflow here:
mattkmiecik.substack.com/p/using-omni...
#rstats
#dataviz
#omnigraffle
#ggplot2
loading . . .
Using Omnigraffle for publication ready figures
In graduate school, I took an advanced statistics course that changed my life.
https://mattkmiecik.substack.com/p/using-omnigraffle-for-publication
3 months ago
2
4
2
Just dropped a new
#rstats
Substack post! Itās about a better way to scale variables in R that wonāt break predict() (and keeps your model inputs traceable).
mattkmiecik.substack.com/p/scaling-va...
#Tidyverse
#DataAnalysis
loading . . .
Scaling variables in R
A walkthrough of a tip I recently learned
https://mattkmiecik.substack.com/p/scaling-variables-in-r
3 months ago
0
6
2
Z-scoring in R? Thereās a neat way to retain the original mean and SD after using scale(). This makes back-transforming for plots super easy. Full example:
mattkmiecik.substack.com/p/scaling-va...
#rstats
#Reproducibility
#CodingTips
loading . . .
Scaling variables in R
A walkthrough of a tip I recently learned
https://mattkmiecik.substack.com/p/scaling-variables-in-r
3 months ago
0
6
2
Scientific writing has trapped me in Word & Google Docs. For personal writing, I needed something better. Ulysses is that something. Clean, simple, and dare I say... fun? Hereās why I love it: āļø
mattkmiecik.substack.com/p/i-started-...
#WritingCommunity
#TechTools
#MacApps
#ProductivityHacks
loading . . .
I started this Substack just so that I could use Ulysses
Alright, that might be an exaggeration.
https://mattkmiecik.substack.com/p/i-started-this-substack-just-so-that
4 months ago
0
3
1
reposted by
Matt Kmiecik
Vincent Arel-Bundock
4 months ago
šØ Big milestone for Rdatasets šØ The web archive now hosts 3400+ free and documented CSV datasets. Fantastic for teaching and testing! And {Rdatasets} is a new
#RStats
š¦ for easy download and search Web archive:
vincentarelbundock.github.io/Rdatasets
R š¦:
vincentarelbundock.github.io/Rdatasetspkg
3
260
81
I used to wrap scale() in as.numeric() and call it a day. Now I know better: drop() preserves attributes and behaves cleanly. Full walkthrough (with mtcars, lm, ggplot2):
mattkmiecik.substack.com/p/scaling-va...
#rstats
#DataViz
#OpenScience
loading . . .
Scaling variables in R
A walkthrough of a tip I recently learned
https://mattkmiecik.substack.com/p/scaling-variables-in-r
4 months ago
0
5
2
reposted by
Matt Kmiecik
Mattan S. Ben-Shachar šļøš®š±šŗš¦
4 months ago
Personally I prefer using datawizard::standardize(), and specifically using it *in the formula*. So mtcars$hp_z <- scale(mtcars$hp) mpg ~ hp_z Becomes mpg ~ standardize(hp) This solves both issues you raise in your post.
#rstats
@easystats.bsky.social
1
11
4
Scaling variables in R? scale() is powerful ā but its default behavior can mess with predict(). Hereās a clean fix using drop() + how to retain scaling attributes for later.
mattkmiecik.substack.com/p/scaling-va...
#rstats
#DataScience
#Statistics
loading . . .
Scaling variables in R
A walkthrough of a tip I recently learned
https://mattkmiecik.substack.com/p/scaling-variables-in-r
4 months ago
1
7
2
This has to be the best
#rstats
hex sticker I've ever seen
4 months ago
1
7
1
One of my favorite tricks Iāve learned from ChatGPT: better facet labels in ggplot2. Check out the latest post:
mattkmiecik.substack.com/p/labeling-f...
#rstats
#ggplot2
#dataviz
loading . . .
Labeling facets in ggplot2
Who knew such a small setting could make such a big improvement
https://mattkmiecik.substack.com/p/labeling-facets-in-ggplot2
4 months ago
1
4
1
reposted by
Matt Kmiecik
John Holbein
4 months ago
1
82
12
Adding labeller = label_both to your facet calls in ggplot2 can massively improve figure readability! I wrote a quick blogpost with a use case and some examples.
mattkmiecik.substack.com/p/labeling-f...
#rstats
#ggplot2
#VisualizationTips
#dataviz
loading . . .
Labeling facets in ggplot2
Who knew such a small setting could make such a big improvement
https://mattkmiecik.substack.com/p/labeling-facets-in-ggplot2
4 months ago
0
3
2
reposted by
Matt Kmiecik
Norm Matloff (ä½ ęåč«ęø ę„å?)
4 months ago
Most applications in R run pretty quickly. But these days, many R users are faced with huge datasets and/or long-running applications, making parallel computation attractive. š§µ 1/
1
25
9
Struggling with confusing facet labels in ggplot2? I just shared a quick fix that makes your plots clearer using labeller = label_both.
mattkmiecik.substack.com/p/labeling-f...
#rstats
#dataviz
#ggplot2
#DataScience
loading . . .
Labeling facets in ggplot2
Who knew such a small setting could make such a big improvement
https://mattkmiecik.substack.com/p/labeling-facets-in-ggplot2
4 months ago
0
4
1
R is full of surprisesāeven after a decade, Iām still learning simple but powerful tricks. Named vectors are my latest discovery, thanks to ChatGPT!
mattkmiecik.substack.com/p/named-vectors-in-r
#RStats
#Learning
#ChatGPT
#Dataviz
loading . . .
Named vectors in R
A powerful tool for plotting colors
https://mattkmiecik.substack.com/p/named-vectors-in-r
4 months ago
1
3
1
I'm looking for literature recommendations on guidance for specifying distributional assumptions in generalized linear/additive models. I've mainly stuck with gaussian and binomial distributions, but am looking to explore other distributions to enhance specification. Thank you!
#rstats
4 months ago
2
2
1
Thereās still time to support my fundraiser for Parkinsonās research! Learn more in my new post on the environmental factors behind PD.
mattkmiecik.substack.com/p/parkinsons...
#DonateScience
#Parkinsons
#Research
loading . . .
Parkinson's Disease 101: Environment and Lifestyle
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-environment
4 months ago
0
0
0
reposted by
Matt Kmiecik
Brain Support Network
4 months ago
One Month Away - REGISTER TODAY: PSP-MSA-CBD Caregiving Symposium, Saturday, June 14, 2025 Plan to join us ā either in-person on the Stanford campus or virtually ā for a symposium for the PSP, MSA, or CBD communities. Everyone is welcome.
www.brainsupportnetwork.org/2025-0614-ps...
1
1
1
How does the environment impact Parkinsonās disease penetranceāeven in people with genetic mutations? We studied over 80k people to find out.
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#ScienceCommunication
#Epidemiology
#LRRK2
loading . . .
Parkinson's Disease 101: Environment and Lifestyle
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-environment
4 months ago
0
1
1
I shared why I stopped bullet journaling and switched to a digital system. Now, I want to hear from you! Whatās your favorite productivity hack? Letās discuss!
mattkmiecik.substack.com/p/why-i-aban...
#ProductivityTips
#StayOrganized
#Productivity
#Lifehack
#BuJo
loading . . .
Why I abandoned bullet journaling
Don't underestimate the power of a good to-do list
https://mattkmiecik.substack.com/p/why-i-abandoned-bullet-journaling
4 months ago
0
1
0
New post! Toxins, like pesticides, and traumatic brain injuries play a bigger role in Parkinsonās disease than many realize. Read more about our findings here:
mattkmiecik.substack.com/p/parkinsons...
#Neurodegeneration
#PublicHealth
#ParkinsonsAwareness
#Parkinsons
loading . . .
Parkinson's Disease 101: Environment and Lifestyle
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-environment
5 months ago
1
4
1
Genetics is just one piece of the puzzle. My latest post breaks down how lifestyle and environmental exposures influence Parkinsonās risk.
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#Neuroscience
#BrainHealth
loading . . .
Parkinson's Disease 101: Environment and Lifestyle
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-environment
5 months ago
0
1
0
My
#tidyverse
brain thought this was an
#rstats
post at first š
add a skeleton here at some point
5 months ago
1
7
1
reposted by
Matt Kmiecik
purr.in.ink
5 months ago
A little purr for you from the galaxy far, far away. (Sound on) šāā¬š¤
#cat
#purr
#maythe4thbewithyou
loading . . .
95
9046
1796
I got yelled at by an elderly gentleman, schooled by a kid, and caught in a chess club argument I barely understood. Chess is wild! āļø You can read Part II of my chess journey here:
mattkmiecik.substack.com/p/my-first-f...
#Chess
#ChessAdventures
loading . . .
My first foray into chess - part II
A humbling experience to say the least
https://open.substack.com/pub/mattkmiecik/p/my-first-foray-into-chess-part-ii?r=2z8w5f&utm_campaign=post&utm_medium=web
5 months ago
0
3
0
"This is not Caladan. This is Arrakis. There are rules." -Muad'Dib
add a skeleton here at some point
5 months ago
0
1
0
reposted by
Matt Kmiecik
Michael Friendly
5 months ago
And, that wiggliness can be measured as effective degrees of freedom makes it more comprehensible
add a skeleton here at some point
0
7
1
reposted by
Matt Kmiecik
tj āļøahr
5 months ago
and donāt even try to pull that āroughnessā funny business. itās wiggliness!
add a skeleton here at some point
0
3
1
reposted by
Matt Kmiecik
5 months ago
I allow my "of a certain age on the Internet in the early 2000s" self to post this once a year when GAMs are discussed. I only made it to May!
add a skeleton here at some point
1
7
2
reposted by
Matt Kmiecik
Stephen Wild
5 months ago
"Wiggly" and "wiggliness" are the technical terms
add a skeleton here at some point
1
15
2
One of my favorite parts of the generalized additive model literature is the fact that "wiggly" and "wiggliness" are legitimate terms to use when describing the nature of the smooths
#rstats
5 months ago
1
15
5
š§ Genetics isnāt just about one mutationāitās about the whole genome. In my latest post, I unpack polygenic risk for Parkinsonās and how background DNA influences disease oddsāeven among those with known mutations like LRRK2. š Part of my fundraiser series:
mattkmiecik.substack.com/p/parkinsons...
5 months ago
0
0
1
Iām walking to raise money for the Parkinsonās Foundationāand sharing science along the way. This post breaks down polygenic risk, and how your DNA might tilt the odds for developing PD. š Read & support here:
mattkmiecik.substack.com/p/parkinsons...
#ParkinsonsAwareness
#Fundraiser
#Genetics
loading . . .
Parkinson's Disease 101: Polygenic Risk
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-polygenic
5 months ago
0
1
0
Magnus, Hikaru, and the en passant rabbit hole. My journey into chess started with social media and led to blitz panic at a local club.
mattkmiecik.substack.com/p/my-first-f...
#ChessLife
#BlitzChess
#BeginnerJourney
loading . . .
My first foray into chess - part I
A humbling experience to say the least
https://mattkmiecik.substack.com/p/my-first-foray-into-chess-part-i
5 months ago
0
3
1
A single mutation can increase Parkinsonās risk. But background geneticsāaka polygenic riskācan raise (or lower) it even more. In my latest post, I break down how this works and why it matters for trials. š§¬
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#GWAS
#PRS
loading . . .
Parkinson's Disease 101: Polygenic Risk
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-polygenic
5 months ago
0
0
0
Part 3 of my āParkinsonās Disease 101ā series is live! 𧬠This one dives into polygenic riskāhow thousands of small DNA changes influence PD risk. Also: Iām walking for the Parkinsonās Foundationāhelp support the cause š š
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#Genetics
#MovingDay
loading . . .
Parkinson's Disease 101: Polygenic Risk
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-polygenic
5 months ago
0
1
1
I used to pack everything into a mega R script. Now I build modular scripts and custom functions. Hereās my journey:
mattkmiecik.substack.com/p/creating-o...
#rstats
#CodingLife
#ReproducibleResearch
loading . . .
Creating objects in R
What variable assignment says about my growth in programming
https://mattkmiecik.substack.com/p/creating-objects-in-r
5 months ago
0
16
2
Every share, every donation makes a difference. Iām walking for those living with Parkinsonāsāand sharing what Iāve learned in a new series. This weekās post is on genetics and PD risk. Read it + support the cause:
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#MovingDay
#Genetics
loading . . .
Parkinson's Disease 101: Genetics
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-genetics
5 months ago
0
2
2
š§ A single DNA change in the LRRK2 gene can increase Parkinsonās risk. In my latest post, I break down how that happensāand why it matters for early symptoms, diagnosis, and trials:
mattkmiecik.substack.com/p/parkinsons...
Read to help me raise funds for the Parkinsonās Foundation š
#Parkinsons
loading . . .
Parkinson's Disease 101: Genetics
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-genetics
5 months ago
0
0
0
Built a custom keyboard from scratch. Loved the creamy pop sound. Hated the wrist pain. Went back to my Mac keyboard. Full story here:
mattkmiecik.substack.com/p/building-k...
#MechanicalKeyboards
#MacLife
#TypingNerd
loading . . .
Building keyboards
If you are reading this post, chances are that you do a lot of typing.
https://mattkmiecik.substack.com/p/building-keyboards
5 months ago
1
1
1
Part 2 of my Parkinsonās series is up! 𧬠We're talking genetics, LRRK2, and why some people develop PD differently. Also: I'm walking in Moving Day to raise funds for research & care. Read + donate š
mattkmiecik.substack.com/p/parkinsons...
#Parkinsons
#Neurogenetics
#Fundraiser
#MovingDay
loading . . .
Parkinson's Disease 101: Genetics
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101-genetics
5 months ago
0
1
0
Starting a bullet journal felt impossible as a perfectionist. The blank pages were too perfect to ruin. But I found 4 things that helped me finally begin. If youāre struggling to start, this might help:
mattkmiecik.substack.com/p/bullet-jou...
#BulletJournal
#BuJo
#Productivity
#Journal
loading . . .
Bullet journaling for perfectionists
4 things that helped me get started
https://mattkmiecik.substack.com/p/bullet-journaling-for-perfectionists
6 months ago
0
2
2
Every donation brings us closer to better treatments for Parkinsonās. Iām raising funds through Moving Dayājoin me in supporting those living with PD! Read more & donate here:
mattkmiecik.substack.com/p/parkinsons-disease-101
#MakeADifference
#ParkinsonsFoundation
loading . . .
Parkinson's Disease 101
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101
6 months ago
0
1
1
Every donation brings us closer to better treatments for Parkinsonās disease. Iām raising funds through Moving Dayājoin me in supporting those living with PD! Read more & donate here:
mattkmiecik.substack.com/p/parkinsons-disease-101
#MakeADifference
#ParkinsonsFoundation
#Parkinsons
loading . . .
Parkinson's Disease 101
Learn and donate to a great cause!
https://mattkmiecik.substack.com/p/parkinsons-disease-101
6 months ago
0
2
1
reposted by
Matt Kmiecik
Michael Friendly
6 months ago
#TodayinHistory
#dataviz
#Onthisday
#OTD
š š Mar 30, 1840 Charles Booth born in Liverpool, England š¬š§ 1889: Booth constructed street maps of London, showing poverty and wealth by color coding, transforming existing methods of social survey and poverty mapping Interactive map:
booth.lse.ac.uk/map
0
25
8
reposted by
Matt Kmiecik
Joris Vankerschaver
6 months ago
This reminds me of my own journey to Python way back when (about 20 years ago). I was in a B&B without internet access and couldn't access the Matlab license server, and just decided to ditch it altogether.
add a skeleton here at some point
0
3
1
reposted by
Matt Kmiecik
Guy Leonard (chatGuyPT)
6 months ago
Similar! I am still a Perl programmer at heart, but love R+tidyverse too, and mostly just use R and bash now.
add a skeleton here at some point
1
5
1
reposted by
Matt Kmiecik
hrbrmstr šŗš¦ š¬š± šØš¦ š³ļøāš
6 months ago
This is something you should read today.
add a skeleton here at some point
0
21
5
reposted by
Matt Kmiecik
Jess Graves
6 months ago
A nice reminder that named vectors are so simple! And I often forget to use them.
add a skeleton here at some point
1
10
3
Load more
feeds!
log in