Code snippets that I used in blog posts at https://www.katzentante.at or (rarely) in posts for other blogs. Most code snippets are written in R
and some are written in Python
or MATLAB
. The folder names contain the year and month when the blog post was published and a few words to describe the content. This README contains all folders with and a link to the corresponding blog post.
Please be aware that some of the blog posts and code snippets in R
are already 3 years old and I've learned a lot since then :)
Info graphic for R plotting parameters
Basic handling of spatial data (like GPS coordinates)
How to choose the correct plot for your data
[Dimensionality Reduction #1] Understanding PCA and ICA using R
[Dimensionality Reduction #2] Understanding Factor Analysis using R
Statistical testing: An introduction
Statistical tests: One sample t-test in R
what3words in R: threewords V0.1.0 and my own language extension
Add non-overlapping labels to a plot using {wordcloud} in R
Adding basemap.at tiles to an R leaflet plot
Cat tracking data collected with my Tractive GPS Pet Tracker
This is a blog post I wrote for the Revolutions blog: Analysing the movements of a cat
Exploring lime on the house prices dataset
Since the blog post is almost finished (so far I never actually had time to invest a few more minutes), the code is already here. Just send me some motivating words to finish it :)
MATLAB, how I hate it ... I had to use it for some time and sometimes I wrote a piece of code that I thought might be useful again. So I collected those pieces and some will be published on my blog.