March 2018

Lintr Bot, lintr’s Hester egg

March 29, 2018 | Posts on Maëlle's R blog

Remember my blog post about automatic tools for improving R packages? One of these tools is Jim Hester’s lintr, a package that performs static code analysis. In my experience it mostly helps identifying too long code lines and missing space, although it’s a bit more involved than that. ...
[Read more...]

Startup with Secrets – A Poor Man’s Approach

March 29, 2018 | JottR on R

New release: startup 0.10.0 is now on CRAN. If your R startup files (.Renviron and .Rprofile) get long and windy, or if you want to make parts of them public and other parts private, then you can use the startup package to split them up in separate files and directories under .... [Read more...]

Lintr Bot, lintr’s Hester egg

March 29, 2018 | Maëlle Salmon

Remember my blog post about automatic tools for improving R packages? One of these tools is Jim Hester’s lintr, a package that performs static code analysis. In my experience it mostly helps identifying too long code lines and missing space, although... [Read more...]

BotRNot: An R app to detect Twitter bots

March 29, 2018 | David Smith

Twitter's bot problem is well documented, influencing discourse on divisive topics like politics and civil rights. But it's getting harder and harder to spot such nefarious bots, who often borrow biographies and tweets from real (and often stolen) profiles to evade detection. (The New York Times recently published an outstanding ... [Read more...]

Version 0.6-10 of NIMBLE released

March 29, 2018 | Chris Paciorek

We’ve released the newest version of NIMBLE on CRAN and on our website. Version 0.6-10 primarily contains updates to the NIMBLE internals that may speed up building and compilation of models and algorithms, as well as a few bug fixes. Changes include: some steps of model and algorithm building ...
[Read more...]

How to map public debt data with ggplot2

March 29, 2018 | Sharp Sight

You’ve heard me say it a thousand times: to master data science, you need to practice. You need to “practice small” by practicing individual techniques and functions. But you also need to “practice big” by working on larger projects. To get some practice, my recommendation is to find reasonably ...
[Read more...]

How to map public debt data with ggplot2

March 29, 2018 | Sharp Sight

You’ve heard me say it a thousand times: to master data science, you need to practice. You need to “practice small” by practicing individual techniques and functions. But you also need to “practice big” by working on larger projects. To get some practice, my recommendation is to find reasonably ... [Read more...]

R⁶ — Capturing [YouTube] Captions

March 29, 2018 | hrbrmstr

(R⁶ == brief, low-expository posts) @yoniceedee suggested I look at the Cambridge Analytics “whistleblower” testimony proceedings: @hrbrmstr giving the term "improving r&d" a whole new meaning … https://t.co/f1KA8U3htT — yoni sidi (@yoniceedee) March 29, 2018 I value the resources @yoniceedee tosses my way (they often end me down ... [Read more...]

building historical socio-demographic profiles

March 28, 2018 | Jason Timm

Some preliminaries Socio-economic profiles Age distribution profiles Summary This post demonstrates a simple workflow for building census-based, historical socio-demographic profiles using the R package tidycensus. The goal is to outline a reproducible method for quick visual exploration of trend data made available via the American Community Survey (ACS). We focus ...
[Read more...]

Automated Data Collection with R and mlbgameday

March 28, 2018 | Data Science Riot!

Opening day is on the way Time to set up a persistent database to collect every pitch thrown in this year’s baseball season. The mlbgameday package is designed to facilitate extract, transform and load for MLBAM “Gameday” data. The package is optimized for parallel processing of data that may ...
[Read more...]

Compute Signal Detection Theory Indices with R

March 28, 2018 | Dominique Makowski

Signal Detection Theory Indices (dprime, beta…) Signal detection theory (SDT) is used when psychologists want to measure the way we make decisions under conditions of uncertainty. SDT assumes that the decision maker is not a passive receiver of information, but an active decision-maker who makes difficult perceptual judgments under conditions ...
[Read more...]

Standardize (Z-score) a dataframe

March 28, 2018 | Dominique Makowski

Standardize / Normalize / Z-score / Scale The standardize() function allows you to easily scale and center all numeric variables of a dataframe. It is similar to the base function scale(), but presents some advantages: it is tidyverse-friendly, data-type friendly (i.e., does not transform it into a matrix) and can handle dataframes ...
[Read more...]

Teaching an advanced R course

March 28, 2018 | Florian Privé

In this post, I come back to my first experience teaching an advanced R course over the past month. Content This course was programmed for 10 sessions (3 hours each) and I initially wanted to talk about the following subjects: R programming and g...
[Read more...]

Feb 2018: “Top 40” New Package Picks

March 28, 2018 | R Views

Here are my picks for the “Top 40” packages of the 171 new packages that made it to CRAN (and stuck) in February, organized into the following categories: Computational Methods, Data, Finance, Science, Statistics, Time Series, and Utilities. Computational Methods adnuts v1.0.0: Provides an implementation of the no-U-turn (NUTS) algorithm by Hoffman ...
[Read more...]

Tap Water Sentiment Analysis using Tidytext

March 28, 2018 | Peter Prevos

In developed countries, tap water is safe to drink and available for a meagre price. Despite the fact that high-quality drinking water is almost freely available, the consumption of bottled water is increasing every year. Bottled water companies use sophisticated … Continue reading → The post Tap Water Sentiment Analysis using Tidytext ...
[Read more...]
1 2 3 4 15

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)