R Views
Recent content on R Views, an R community blog edited by RStudio

October 2019: "Top 40" New R Packages
Two Hundred twentythree new packages made it to CRAN in October. Here are my “Top 40” picks in ten categories: Computational Methods, Data, Genomics, Machine Learning, Mathematics, Medicine,...

IPO Exploration Part Two
In a previous post, we explored IPOs and IPO returns by sector and year since 2004. Today, let’s investigate how portfolios formed with those IPOs have performed. We will need to grab the price...

A comparison of methods for predicting clothing classes using the Fashion MNIST dataset in RStudio and Python (Part 1)
Florianne Verkroost is a PhD candidate at Nuffield College at the University of Oxford. With a passion for data science and a background in mathematics and econometrics. She applies her...

A First Look at Confidence Distributions
Using a probability distribution to characterize uncertainty is at the core of statistical inference. So, it seems natural to try to summarize the information about the parameters in statistical...

Sept 2019: "Top 40" New R Packages
One hundred and thirteen new packages made it to CRAN in September. Here are my “Top 40” picks in eight categories: Computational Methods, Data, Economics, Machine Learning, Statistics, Time...

IPO Exploration
Inspired by recent headlines like “Fear Overtakes Greed in IPO Market after WeWork Debacle” and “This Year’s IPO Class is Least Profitable since the Tech Bubble”, today we’ll explore historical...

Productionizing Shiny and Plumber with Pins
Producing an API that serves model results or a Shiny app that displays the results of an analysis requires a collection of intermediate datasets and model objects, all of which need to be saved....

Building Interactive World Maps in Shiny
Florianne Verkroost is a PhD candidate at Nuffield College at the University of Oxford. With a passion for data science and a background in mathematics and econometrics. She applies her...

Multiple Hypothesis Testing in R
In the first article of this series, we looked at understanding type I and type II errors in the context of an A/B test, and highlighted the issue of “peeking”. In the second, we illustrated a way...

August 2019: "Top 40" R packages
Two hundred and twentyseven new packages made it to CRAN in August. Quite a few were devoted to medical or genomic applications, and this is reflected in my “Top 40” selections, listed below in...

Accelerate your plots with ggforce
In this post, I will walk you through some examples that show off the major features of the ggforce package. The main goal is to share a few ideas about customizing visualizations that you may...

R/Medicine 2019 Workshops
R/Medicine 2019 kicked off on Thursday with two outstanding workshops. It was difficult to choose between the two, but fortunately both presenters developed rich sets of materials that are...

How to Send Custom Emails with R
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...

July 2019 "Top 40" R Packages
One hundred seventysix 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,...

Calculating AlwaysValid pvalues in R
In this post, we will develop a framework for alwaysvalid inference based on the paper Always Valid Inference: Continuous Monitoring of A/B Tests (2019 Johari, Pekelis, Walsh). Using an...

Tech Dividends, Part 2
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...

Contributors
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....

Plumber Logging
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...

Tech Dividends, Part 1
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...

Validating Type I and II Errors in A/B Tests in R
In this post, we seek to develop an intuitive sense of what type I (falsepositive) and type II (falsenegative) errors represent when comparing metrics in A/B tests, in order to gain an...
 Loading More...