This little helper is just a convenience function to set infinite values and NaNs to NA.
This little helper is our own STATWORX color palette.
This little helper returns a set of colors which we often use at STATWORX.
This little helper returns the folder structure of a given path. With this, one can for example add a nice overview to the documentation of a project or within a git.
This little helper reads in multiple files of the same type and combines them into a
This little helper is a debug function if you do not work with RStudio.
This little helper removes leading and trailing whitespaces from a string. With R version 3.5.1
trimws was introduced, which does the exact same thing. This just shows, it was not a bad idea to write such a function.
This little helper is just a convenience function. It is simply the same as the negated
%in% operator, as you can see below. But in my opinion, it increases the readability of the code.
This little helper shows a table with the size of each object in the given environment.
If you are in a situation where you have coded a lot and your environment is now quite messy,
object_size_in_env helps you to find the big fish with respect to memory usage.
This little helper returns the intersect of multiple vectors or lists. I found this function here, thought it is quite useful and adjusted it a bit to my liking.