Tracking private R dependencies with packrat & git submodules

September 16, 2018
By

Here at Methods we often use RStudio’s packrat package to version our package dependencies and help ensure our work is reproducible. Packrat handles public packages on CRAN or Github just fine, but we have a lot of internal packages hosted privately on Gitlab that we’d like to have packrat manage like the rest of our dependencies. This comes up...

Read more »

I’ll be talking at the R-Ladies Meetup about Interpretable Deep Learning with R, Keras and LIME

September 16, 2018
By

Today I am very happy to announce that during my stay in London for the m3 conference, I’ll also be giving a talk at the R-Ladies London Meetup on Tuesday, October 16th, about one of my favorite topics: Interpretable Deep Learning with R, Keras and L...

Read more »

How to create a sequential model in Keras for R

September 16, 2018
By
How to create a sequential model in Keras for R

This tutorial will introduce the Deep Learning classification task with Keras. With focus on one-hot encoding, layer shapes, train & evaluate the model.How to create a sequential model in Keras for R

Read more »

Data visualisation pitfalls: how to avoid barbarplots ?

September 16, 2018
By
Data visualisation pitfalls: how to avoid barbarplots ?

You did an experiment or a survey, or you collected data, and you are ready to analyse them. But what is the first step? Everyone will tell you that you have to visualise your data with graphs. Yes, but how? and why? What are the common pitfalls to avoid? We are very grateful to Marion Louveaux, bio-image data analyst...

Read more »

Parameterizing with bquote

September 16, 2018
By

One thing that is sure to get lost in my long note on macros in R is just how concise and powerful macros are. The problem is macros are concise, but they do a lot for you. So you get bogged down when you explain the joke. Let’s try to be concise. Below is an … Continue reading Parameterizing...

Read more »

Statistics Sunday: What Should I Read Next?

September 16, 2018
By

When You Need a New Book to Read I log all of my books on Goodreads. On top of that, whenever I hear about a new book I have to read, I add it on Goodreads, so I remember it. Of course, this means my Goodreads bookshelves are a little out of control. Fortunately, I can use R...

Read more »

Data Wrangling with dplyr – Part 3

September 15, 2018
By
Data Wrangling with dplyr – Part 3

Introduction In the previous post, we learnt to combine tables using dplyr. In this post, we will explore a set of helper functions in order to: extract unique rows rename columns sample data extract columns slice rows arrange rows compare tables extract/mutate data using predicate functions count observations for different levels of a variable Libraries, Code & Data We will use the following packages: dplyr readr The data sets can be downloaded from here and the codes...

Read more »

Simple Parallel Processing in R

September 15, 2018
By
Simple Parallel Processing in R

I recently purchased a new laptop with an Intel i7-8750 6 core CPU with multi-threading meaning I have 12 logical The post Simple Parallel Processing in R appeared first on Daniel Oehm | Gradient Descending.

Read more »

Streamtubes in Plotly with Python

September 15, 2018
By
Streamtubes in Plotly with Python

🌟 Before we introduce this seriously cool visualization, we’d like to announce that plotly.py has surpassed 5 million downloads! Thank you for helping us reach this milestone! 🙌 Once Upon a Time 🕰 It was the year 2008. If you wanted to create 3-D plots for interactive scientific data visualization, the Mayavi Python library was your go-to. The charts may have looked...

Read more »

Thunderstorm forecasting with GAMs

September 15, 2018
By
Thunderstorm forecasting with GAMs

Boosted binary generalized additive models (GAMs) with stability selection and corresponding MCMC-based credibility intervals are discussed in a new MWR paper as a probabilistic forecasting method for the occurrence of thunderstorms. ...

Read more »

On “Competition” in the R Ecosystem

September 15, 2018
By

I’ve been thinking a bit on “competition” in the R ecosystem. I guess the closest I can come to a fair and coherent view on “competition” in the R ecosystem is some variation of the following. I, of course, should not be treating things as a competition. We are all doing work and hoping for … Continue reading On...

Read more »

How to Avoid For Loop in R

September 15, 2018
By

A FOR loop is the most intuitive way to apply an operation to a series by looping through each item one by one, which makes perfect sense logically but should be avoided by useRs given the low efficiency. In R, there are two ways to implement the same functionality of a FOR loop. The first

Read more »

Better R Code with wrapr Dot Arrow

September 15, 2018
By

Our R package wrapr supplies a "piping operator" that we feel is a real improvement in R code piped-style coding. The idea is: with wrapr‘s "dot arrow" pipe "%.__%" the expression "A %.__% B" is treated very much like "{. % B(.)" as a … Continue reading Better R Code with wrapr Dot Arrow

Read more »

3 reasons to not write that new code, and how I failed at it.

September 15, 2018
By
3 reasons to not write that new code, and how I failed at it.

Introduction We all know that feeling. We have this great idea about a new project, feature, function, piece of code. What do we want? Write that amazing new code! When do we want it? Right NOW! The aim of this post is to try and give you at 3 good...

Read more »

Data Entry with R’s Text Editor

September 14, 2018
By
Data Entry with R’s Text Editor

Excel’s greatest strength — and its greatest weakness — is the ease of users to manipulate the basic data. Done well and the capability affords flexibility; done poorly and you are left with hard-coded cells and hidden Column A’s. With R you approach the data differently by writing each step in code. Generally you do

Read more »

How many deaths were caused by the hurricane in Puerto Rico?

September 14, 2018
By
How many deaths were caused by the hurricane in Puerto Rico?

President Trump is once again causing distress by downplaying the number of deaths caused by Hurricane Maria's devastation of Puerto Rico last year. Official estimates initially put the death toll at 15 before raising it to 64 months later, but it was clear even then that those numbers were absurdly low. The government of Puerto Rico commissioned an official...

Read more »

Interpretation of the AUC

September 13, 2018
By
Interpretation of the AUC

The AUC* or concordance statistic c is the most commonly used measure for diagnostic accuracy of quantitative tests. It is a discrimination measure which tells us how well we can classify patients in two groups: those with and those without the outcome of interest. Since the measure is based on ranks, it is not sensitive Related Post Simple Experiments with...

Read more »

How Luxembourguish residents spend their time: a small {flexdashboard} demo using the Time use survey data

September 13, 2018
By
How Luxembourguish residents spend their time: a small {flexdashboard} demo using the Time use survey data

In a previous blog post I have showed how you could use the {tidyxl} package to go from a human readable Excel Workbook to a tidy data set (or flat file, as they are also called). Some people then contributed their solutions, which is always something I really enjoy when it happens. This way, I also get to learn things! @expersso proposed a...

Read more »

Deadline extended for rstudio::conf(2019) abstract submissions

September 13, 2018
By

rstudio::conf, the conference on all things R and RStudio, will take place January 17 and 18, 2019 in Austin, Texas, preceded by Training Days on January 15 and 16. We’ve received requests from a number of you for permission to submit talk/e-poster abstracts after the deadline (this Saturday, September 15). In response, we’re extending the deadline by a week for...

Read more »

Gold-Mining Week 2 (2018)

September 13, 2018
By

Week 2 Gold Mining and Fantasy Football Projection Roundup now available. Go get that free agent gold! The post Gold-Mining Week 2 (2018) appeared first on Fantasy Football Analytics.

Read more »

Make your R code nicer with roperators

September 13, 2018
By
Make your R code nicer with roperators

Seven simple solutions solving sloppy syntax: roperators Seven simple solutions solving sloppy syntax: roperators A package to make R a little nicer A Package to Make R a Little Nicer When I first started with R, there were a few things that bothered me greatly. While I can’t change dynamic typing, it is possible to do things such as: String addition,...

Read more »

A webinar and online workshop for learning Bayesian analysis

September 13, 2018
By

I am running a couple of online events through BayesCamp next month that might interest you if you want to … More

Read more »

Announcing wrapr 1.6.2

September 12, 2018
By
Announcing wrapr 1.6.2

wrapr 1.6.2 is now up on CRAN. We have some neat new features for R users to try (in addition to many earlier wrapr goodies). The first is the %in_block% alternate notation for let(). The wrapr let()-block allows easy replacement of names in name-capturing interfaces (such as transform()), as we show below. library("wrapr") column_mapping

Read more »

digest 0.6.17

September 12, 2018
By

digest version 0.6.17 arrived on CRAN earlier today after a day of gestation in the bowels of CRAN, and should get uploaded to Debian in due course. digest creates hash digests of arbitrary R objects (using the md5, sha-1, sha-256, sha-512, crc32, xx...

Read more »

Avocado Market Research

September 12, 2018
By
Avocado Market Research

Introduction Data Pre-Processing Load Data Load Packages Clean Data Exploratory Data Analysis Distribution Avocado Prices Avocado Volume Elasticity Introduction The following report intends to analyze avocado prices and sales volume from 2015 to early 2018 across the US. In addition to a thorough exploratory analysis, I’ll also try to calculate the price elasticity of demand for each individual market. The dataset comes from the Hass Avocado Board. Embed from Getty Images Data...

Read more »

interactive ggplot with tooltip using plotly

September 12, 2018
By
interactive ggplot with tooltip using plotly

A quick Random R thing I use a lot, recently learned, and I want you to know it too. In this post I’ll show you how to make a quick interactive plot with ggplot and plotly, so that values are displayed when you hover your mouse over it. Why would you want this? If you are exploring the data, you...

Read more »

Mapping homelessness in England

September 12, 2018
By
Mapping homelessness in England

Introduction Data wrangling Initial analysis The painful part Introduction For this blog post, I decided to try to find a dataset covering an issue I feel quite strongly about - homelessness. I managed to find a fairly large dataset from the Cambridgeshire Insight website. For a while I’ve wanted to try out R’s mapping potential and hopefully generate a heatmap, so I’ve deliberately tried to...

Read more »

Stress based graph layouts

September 12, 2018
By
Stress based graph layouts

I academically grew up among graph drawers, that is, computer scientists and mathematicians interested in deriving two-dimensional depictions of graphs. One may despicably call it pixel science, yet a lot of hard theoretical work is put into producing pretty graph layouts. Although I am not at all an expert in this field, I have learned a thing or two about that subject. As...

Read more »

R Gene Regulatory Interaction Formulator For Inquiring Networks

September 12, 2018
By
R Gene Regulatory Interaction Formulator For Inquiring Networks

This blog post was written by ME Martinez-Sanchez, S Muñoz, M Carrillo, E Azpeitia, D Rosenblueth and originally posted at the CDSB blog.1 In this blog post we will describe the package rGriffin (Martinez-Sanchez, Muñoz, Carrillo, Azpeitia, et al., 2018) that was one of the projects developed during the TIB2018-BCDW. We hope to continue developing Griffin and rGriffin (Martinez-Sanchez, Muñoz,...

Read more »

Search R-bloggers


Recent popular posts

Sponsors

Mango solutions





Zero Inflated Models and Generalized Linear Mixed Models with R



wiley.com/learn/datascience

Quantide: statistical consulting and training

ODSC boston

http://www.eoda.de









Six Sigma Online Training

mljar.com

Our ads respect your privacy. Read our Privacy Policy page to learn more.

Contact us if you wish to help support R-bloggers, and place your banner here.