Skip to content

expectopatronum/code-snippets-blog

Repository files navigation

code-snippets-blog

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.

R

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 :)

201502_boxplots

Create boxplots in R

201503_factors

How to handle factors in R

201503_infographic

Info graphic for R plotting parameters

201504_basic_handling_spatial_data

Basic handling of spatial data (like GPS coordinates)

201504_choose_correct_plot

How to choose the correct plot for your data

201505_pca_ica

[Dimensionality Reduction #1] Understanding PCA and ICA using R

201505_factor_analysis

[Dimensionality Reduction #2] Understanding Factor Analysis using R

201506_statistical_testing_introduction

Statistical testing: An introduction

201507_one_sample_ttest

Statistical tests: One sample t-test in R

201508_what3words

what3words in R: threewords V0.1.0 and my own language extension

201509_nonoverlapping_labels

Add non-overlapping labels to a plot using {wordcloud} in R

201601_basemap

Adding basemap.at tiles to an R leaflet plot

201602_cat_tracking_data

Cat tracking data collected with my Tractive GPS Pet Tracker

201603_analysing_movements_cat

This is a blog post I wrote for the Revolutions blog: Analysing the movements of a cat

201609_accessing_fitbit_data

Accessing your Fitbit data

201801_exploring_lime

Exploring lime on the house prices dataset

Python

In preparation: catdog_classifier_lime

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

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.

201709_find_closest_date

Find closest date before or after event (MATLAB)

About

Code snippets that I used in blog posts at https://www.katzentante.at

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published