April 14, 2020 | 0 Comments

Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab. RcppArmadillo integrates this library with the R environment and... [Read more...]

### gettz 0.0.4

April 14, 2020 | 0 Comments

A minor routine update 0.0.4 of gettz arrived on CRAN overnight. gettz provides a possible fallback in situations where Sys.timezone() fails to determine the system timezone. That happened when e.g. the file /etc/localtime somehow is not a link into ... [Read more...]

### Learning Data Science: Understanding ROC Curves

April 14, 2020 | 0 Comments

One widely used graphical plot to assess the quality of a machine learning classifier or the accuracy of a medical test is the Receiver Operating Characteristic curve, or ROC curve. If you want to gain an intuition and see how they can be easily created with base R read on! ... [Read more...]

### poorman: The Selectificator 2000!

April 13, 2020 | 0 Comments

Introduction Welcome to my series of blog posts about my data manipulation package, {poorman}. For those of you that don’t know, {poorman} is aiming to be a replication of {dplyr} but using only {base} R, and therefore be completely dependency free. What’s nice about this series is that ... [Read more...]

### poorman: Select helpers, bug fixes and tests, tests, tests!

April 13, 2020 | 0 Comments

Introduction Hello all and welcome to another edition of the poorman series of blog posts. In this series I am discussing my progress in writing a base R equivalent of dplyr. What’s nice about this series is that if you’re not into poorman and would prefer just to ... [Read more...]

### Saving R Graphics across OSs

April 13, 2020 | 0 Comments

R is known for it’s amazing graphics. Not only ggplot2, but also plotly, and the other dozens of packages at the graphics task view. There seems to be a graph for every scenario. However once you’ve created your figure, how do you export it? This post compares standard ...

### Evaluating Mass Muni CAFR Tabulizer Results – Part 3

April 13, 2020 | 0 Comments

### inSilecoMisc 0.4.0 (part 1/2)

April 13, 2020 | 0 Comments

inSilecoMisc inSilecoMisc is an R 📦 I have been maintaining for four years now. It was originally designed as a convenient way to share handy functions. Instead of stacking them in my .Rprofile, I created a package and made it available on GitHub. inSilecoMisc is therefore a set of miscellaneous functions, ... [Read more...]

### SLOPE 0.2.0

April 13, 2020 | 0 Comments

Introduction to SLOPE SLOPE (Bogdan et al. 2015) stands for sorted L1 penalized estimation and is a generalization of OSCAR (Bondell and Reich 2008). As the name suggests, SLOPE is a type of $$\ell_1$$-regularization. More specifically, SLOPE fits generalized linear models regularized with the sorted $$\ell_1$$ norm. The objective in SLOPE ...

### PCA and the #TidyTuesday best hip hop songs ever

April 13, 2020 | 0 Comments

Lately I’ve been publishing screencasts demonstrating how to use the tidymodels framework, from first steps in modeling to how to tune more complex models. Today, I’m exploring a different part of the tidymodels framework; I’m showing how to implement principal component analysis via recipes with this week’...

### rOpenSci Dev Guide 0.4.0: Updates

April 13, 2020 | 0 Comments

rOpenSci Software Peer Review’s guidance has been compiled in an online book for more than one year now. We’ve just released its fourth version. To find out what’s new in our dev guide 0.4.0, you can read the changelog, or this blog post for more digested information. Note ... [Read more...]

### Dr. Julia Silge InteRview

April 13, 2020 | 0 Comments

Today I interviewed Dr. Julia Silge, the creator of janeaustenr::, tidytext::, qualtRics::, and author of Text Mining with R. I’m still recovering from a hand surgery, and this time the interview was done by using a voice-to-text app and email. ... [Read more...]

### Where does the output of Rscript go?

April 13, 2020 | 0 Comments

We often run R interactively, through Rstudio or in the terminal. But you can also run Rscripts without manual intervention. Using Rscript. But where does the output go? Warning: This post is very linux/unix (macos) centred, I don’t know how this works in Windows. Also I’m using ... [Read more...]

### Yes, unbalanced randomization can improve power, in some situations

April 13, 2020 | 0 Comments

Last time I provided some simulations that suggested that there might not be any efficiency-related benefits to using unbalanced randomization when the outcome is binary. This is a quick follow-up to provide a counter-example where the outcome in a two-group comparison is continuous. If the groups have different amounts of ...

### Multilevel Correlations: A New Method for Common Problems

April 13, 2020 | 0 Comments

In this tutorial, we will introduce multilevel correlations (or hierarchical / random-effects correlations) and how to compute them using the new correlations package from the easystats suite. You can install the updated version and load the package as follows: install.packages("correlation") library(correlation) Data Imagine we have an experiment in ...

### H2O.ai Academic Program for Professors and Students: Part 2 – Creating Your First (Time Series) Experiment

April 13, 2020 | 0 Comments

Part 1 of this blog series discussed how to: apply for free academic license of H2O.ai automated machine learning (AutoML) platform Driverless AI, spin up a VM with budget-oriented cloud provider Paperspace that can host Driverless AI, install Driverless AI on VM including configuration that utizlizes powerful GPUs available ...

### wrapped Normal distribution

April 13, 2020 | 0 Comments

One version of the wrapped Normal distribution on (0,1) is expressed as a sum of Normal distributions with means shifted by all relative integers which, while a parameterised density, has imho no particular statistical appeal over the use of other series. It was nonetheless the centre of a series of questions ...