Articles by R Views

Contributors

August 13, 2019 | R Views

Below is a list of contributors to this blog. Name Role Bio Joseph Rickert Ambassador at Large Joseph is RStudio’s “Ambassador at Large” for all things R, is the chief editor of the R Views blog. He works with the rest of the RStudio team and the R Consortium ... [Read more...]

Plumber Logging

August 12, 2019 | R Views

The plumber R package is used to expose R functions as API endpoints. Due to plumber’s incredible flexibility, most major API design decisions are left up to the developer. One important consideration to be made when developing APIs is how to log information about API requests and responses. This ...
[Read more...]

Tech Dividends, Part 1

August 6, 2019 | R Views

In a previous post, we explored the dividend history of stocks included in the SP500. Today, we’ll extend that analysis to cover the Nasdaq because, well, because in the previous post I said I would do that. We’ll also explore a different source for dividend data, do some ...
[Read more...]

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

July 30, 2019 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 | R Views

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 3: Genetic diversity

May 15, 2019 | R Views

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 | R Views

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 | R Views

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...]
1 7 8 9 10 11 18

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)