July 2019

How Do You Organise Your R Project? This Is What We Do.

July 24, 2019 | Paul Stevenson

The Biometrics group at Telethon Kids Institute uses a standardised template project directory to manage our biostatistical consultation projects. This approach allows us to streamline our workflow, initiate projects, and produce professional looking reports directly from the statistical analysis platform minimising the time spent on the non-analytical aspects of our ...
[Read more...]

Visualizing Locke and Mill: a tidytext analysis

July 23, 2019 | Artful Analytics

Introduction In this post, I will perform a text mining analysis of two important philosophical works on the topic of individual liberty: John Locke’s Second Treatise of Governement and John Stuart Mill’s On Liberty. I will rely mainly on the tidytext package, as described in the book Text ...
[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...]

BeautifulSoup vs. Rvest

July 22, 2019 | Andrew Treadway

This post will compare Python’s BeautifulSoup package to R’s rvest package for web scraping. We’ll also talk about additional functionality in rvest (that doesn’t exist in BeautifulSoup) in comparison to a couple of other Python packages (including pandas and RoboBrowser). Getting started BeautifulSoup and rvest both ...
[Read more...]

Gibbs sampling with incompatible conditionals

July 22, 2019 | xi'an

An interesting question (with no clear motivation) on X validated wondering why a Gibbs sampler produces NAs… Interesting because multi-layered: The attached R code indeed produces NAs because it calls the Negative Binomial Neg(x¹,p) random generator with a zero success parameter, x¹=0, which automatically returns NAs. This can ...
[Read more...]

Faster Gridding in R

July 22, 2019 | Thomas Bryce Kelly

So all oceanographers are familiar with the results of gridding, even if they are not so familiar with the process. Gridding is, in general, any method that will take observations and output interpolated (and sometimes extrapolated) data that is placed onto a regular, well-behaving grid. Below is a simple illustration ... [Read more...]

Customer Segmentation using RFM Analysis

July 21, 2019 | Rsquared Academy Blog

Introduction In a previous post, we had introduced our R package rfm but did not go into the conceptual details of RFM analysis. In this post, we will explore RFM in much more depth and work through a case study as well. RFM (Recency, Frequency & Monetary) analysis is a behavior ...
[Read more...]

Excel Report Generation with Shiny

July 21, 2019 | Posts on Tychobra

R is great for report generation. Shiny allows us to easily create web apps that generate a variety of reports with R. This post details a demo Shiny app that generates an Excel report, a PowerPoint report, and a PDF report: The full Shiny app source code is available here. ...
[Read more...]

Quantitative Analysis of Political Text

July 21, 2019 | R on Methods Bites

How can we infer actors’ positions, substantive topics, or sentiments from (political) texts? This Methods Bites Tutorial by Julian Bernauer summarizes Denise Traber’s workshop in the MZES Social Science Data Lab in Spring 2018. Using exemplary sets of political documents (election manifestos and coalition agreements), it showcases tools of QTA ...
[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)