Articles by R Views

Validating Type I and II Errors in A/B Tests in R

July 30, 2019 | 0 Comments

In this post, we seek to develop an intuitive sense of what type I (false-positive) and type II (false-negative) errors represent when comparing metrics in A/B tests, in order to gain an appreciation for “peeking”, one of the major problems plaguing the analysis of A/B test today. To ...
[Read more...]

June 2019 “Top 40” R Packages

July 23, 2019 | 0 Comments

Approximately 136 new packages stuck to CRAN in June. (This number is difficult to nail down with certainty because packages may be removed from CRAN after sitting there for a few days.) Here are my picks for the June “Top 40” in ten categories: Computational Methods, Data, Finance, Genomics, Machine Learning, Science ...
[Read more...]

An R Users Guide to JSM 2019

July 18, 2019 | 0 Comments

If you are like me, and rather last minute about making a plan to get the most out of a large conference, you are just starting to think about JSM 2019 which will begin in just a few days. My plans always begin with an attempt to sleuth out the R-related ...
[Read more...]

Three Strategies for Working with Big Data in R

July 16, 2019 | 0 Comments

For many R users, it’s obvious why you’d want to use R with big data, but not so obvious how. In fact, many people (wrongly) believe that R just doesn’t work very well for big data. In this article, I’ll share three strategies for thinking about ...
[Read more...]

Dividend Sleuthing with R

July 8, 2019 | 0 Comments

Welcome to a mid-summer edition of Reproducible Finance with R. Today, we’ll explore the dividend histories of some stocks in the S&P 500. By way of history for all you young tech IPO and crypto investors out there: way back, a long time ago in the dark ages, companies ...
[Read more...]

Imagine your Data Before You Collect It

June 30, 2019 | 0 Comments

As data scientists, we are often presented with a dataset and are asked to use it to produce insights. We use R to wrangle, visualize, model, and produce tables and plots for sharing or publication. When we focus on the data in hand in this way, we don’t get ...
[Read more...]

May 2019: “Top 40” New CRAN Packages

June 24, 2019 | 0 Comments

Two hundred twenty-two new packages made it to CRAN in May, and it was more of an effort than usual to select the “Top 40”. Nevertheless, here they are in nine categories, Computational Methods, Data, Machine Learning, Mathematics, Medicine, Science, Statistics, Utilities and Visualization. Computational Methods dde v1.0.0: Implements a Dormand-Prince ...
[Read more...]

A Gentle Introduction to tidymodels

June 18, 2019 | 0 Comments

Recently, I had the opportunity to showcase tidymodels in workshops and talks. Because of my vantage point as a user, I figured it would be valuable to share what I have learned so far. Let’s begin by framing where tidymodels fits in our analysis projects. The diagram above is ...
[Read more...]

Equal Size kmeans

June 12, 2019 | 0 Comments

We were recently presented with a problem where the decision maker wanted to understand how their data would naturally group together. The classic technique of k-means clustering was a natural choice; it’s well known, computationally efficient, and implemented in base R via the kmeans() function. Our problem has a ...
[Read more...]

reticulate, virtualenv, and Python in Linux

June 9, 2019 | 0 Comments

Roland Stevenson is a data scientist and consultant who may be reached on Linkedin. reticulate is an R package that allows us to use Python modules from within RStudio. I recently found this functionality useful while trying to compare the results of different uplift models. Though I did have R’...
[Read more...]

Introducing DeclareDesign, a Platform for Research Design

June 3, 2019 | 0 Comments

Graeme Blair is an Assistant Professor of Political Science at UCLA. Jasper Cooper is a Postdoctoral Research Associate at the Kahneman-Treisman Center for Behavioral Science and Public Policy at Princeton University. Alexander Coppock is an Assistant Professor of Political Science at Yale University. Macartan Humphreys is a Professor of Political ...
[Read more...]

April 2019: “Top 40” New CRAN Packages

May 29, 2019 | 0 Comments

One hundred eighty-seven new packages made it to CRAN in April. Here are my picks for the “Top 40”, organized into ten categories: Biotechnology, Data, Econometrics, Machine Learning, Medicine, Science, Statistics, Time Series, Utilities, and Visualization. Biotechnology genpwr v1.00: Provides functions for power and sample size calculations for genetic association studies ...
[Read more...]

Momentum Investing with R

May 28, 2019 | 0 Comments

After an extended hiatus, Reproducible Finance is back! We’ll celebrate by changing focus a bit and coding up an investment strategy called Momentum. Before we even tiptoe in that direction, please note that this is not intended as investment advice and it’s not intended to be a script ...
[Read more...]

Analysing the HIV pandemic, Part 4: Classification of lab samples

May 22, 2019 | 0 Comments

Andrie de Vries is the author of “R for Dummies” and a Solutions Engineer at RStudio Phillip (Armand) Bester is a medical scientist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa In this post we complete ...
[Read more...]

Analysing the HIV pandemic, Part 3: Genetic diversity

May 15, 2019 | 0 Comments

Phillip (Armand) Bester is a medical scientist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa Andrie de Vries is the author of “R for Dummies” and a Solutions Engineer at RStudio Recap In part 2 of this ...
[Read more...]

Virtual Morel Foraging with R

May 12, 2019 | 0 Comments

Bryan Lewis is a mathematician, R developer and mushroom forager.                               Morchella Americana by Bryan W. Lewis, see https://ohiomushroomsociety.wordpress.com/ It’s that time of year again, when people in the Midwestern US go nuts for morel mushrooms. Although fairly common in Western Pennsylvania, Ohio, Indiana, Illinois, Wisconsin, and, ...
[Read more...]

Analysing the HIV pandemic, Part 2: Drug resistance testing

May 6, 2019 | 0 Comments

Phillip (Armand) Bester is a medical scientist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa Dominique Goedhals is a pathologist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health ...
[Read more...]

Analysing the HIV pandemic, Part 1: HIV in sub-Sahara Africa

April 29, 2019 | 0 Comments

Phillip (Armand) Bester is a medical scientist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa Sabeehah Vawda is a pathologist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health ...
[Read more...]

March 2019: “Top 40” New CRAN Packages

April 25, 2019 | 0 Comments

By my count, two hundred and thirty-three packages stuck to CRAN last month. I have tried to capture something of the diversity of the offerings by selecting packages in ten categories: Computational Methods, Data, Machine Learning, Medicine, Science, Shiny, Statistics, Time Series, Utilities, and Visualization. The Shiny category contains packages ...
[Read more...]

A Few Old Books

April 24, 2019 | 0 Comments

Greg Wilson is a data scientist and professional educator at RStudio. My previous column looked at a few new books about R. In this one, I’d like to explore a few books about programming that people coming from data science backgrounds may not have stumbled upon. The first is ... [Read more...]
1 2 3 4 5 6 13

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)