Publications by R Views

An R Users Guide to JSM 2019

18.07.2019

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 sessions. While in the past it took quite a bit of work to identify talks that were likely ba...

9995 sym R (835 sym/1 pcs) 2 img

June 2019 “Top 40” R Packages

23.07.2019

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 and Medicine, Statistics...

11839 sym 48 img

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

30.07.2019

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 better understand what “peeking” is, it helps to first ...

6237 sym R (3675 sym/6 pcs) 2 img

Tech Dividends, Part 1

06.08.2019

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 string cleaning and check out ways to customize a tooltip in plotly. Bo...

5745 sym R (7390 sym/17 pcs) 10 img

Plumber Logging

12.08.2019

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 information can be used to determine how plumber...

5955 sym R (2297 sym/7 pcs) 4 img

Contributors

13.08.2019

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 to promote open source activities, the R language and the R Community. Joseph al...

436 sym 1 tbl

Tech Dividends, Part 2

16.08.2019

In a previous post, we explored the dividend history of stocks included in the SP500, and we followed that with exploring the dividend history of some NASDAQ tickers. Today’s post is a short continuation of that tech dividend theme, with the aim of demonstrating how we can take our previous work and use it to quickly visualize research from the...

5842 sym R (6303 sym/12 pcs) 10 img

Calculating Always-Valid p-values in R

21.08.2019

In this post, we will develop a framework for always-valid inference based on the paper Always Valid Inference: Continuous Monitoring of A/B Tests (2019 Johari, Pekelis, Walsh). Using an always-valid p-value allows us to continuously monitor A/B tests, and potentially stop the test early in a valid way1. In section 5 of the paper, the authors pro...

6236 sym R (5747 sym/4 pcs) 6 img

July 2019 “Top 40” R Packages

28.08.2019

One hundred seventy-six new packages made it to CRAN in July. Here are my “Top 40” picks organized into twelve categories: Data, Data Science, Finance, Genomics, Machine Learning, Mathematics, Medicine, Statistics, Time Series, Topological Data Analysis, Utilities and Visualization. Data eia v0.3.2: Provides API access to data from the US Ene...

10496 sym 42 img

How to Send Custom E-mails with R

03.09.2019

A common business oriented data science task is to programatically craft and send custom emails. In this post, I will show how to accomplish this with R on the RStudio Connect platform (a paid product built for the enterprise) using the blastula package.blastula provides a set of functions for composing high-quality HTML e-mails that render acros...

4885 sym R (1354 sym/5 pcs) 8 img 1 tbl