Get Better: early career researcher development

January 14, 2020
By

How can we contribute to the development of early career researchers in a lab environment? I’m talking about how people in the lab acquire “soft skills” or “get better” in ways that are parallel to doing research. This sort of training can get overlooked in the chase for new results and the excitement of doing

Read more »

Exploring the tightened EU CO2 emission standards for cars in 2020 – Why now selling an electric car can be worth an extra 18000€ for producers.

January 14, 2020
By
Exploring the tightened EU CO2 emission standards for cars in 2020 – Why now selling an electric car can be worth an extra 18000€ for producers.

In this blog post I want to explore the EU regulation for average CO2 emissions of manufacturer’s car fleets using the EU data set of newly registered cars. The data was already studied on an aggregate level in my earlier post. Here we explore, in particular, the monetary implications of the regulatory details for different car manufactures and car...

Read more »

Business Case Analysis with R (Guest Post)

January 14, 2020
By
Business Case Analysis with R (Guest Post)

Learning Machines proudly presents a fascinating guest post by decision and risk analyst Robert D. Brown III with a great application of R in the business and especially startup-arena! I encourage you to visit his blog too: Thales’ Press. Have fun! Introduction While Excel remains the tool of choice among analysts for business case analysis, … Continue reading "Business...

Read more »

eRum2020: call for submissions open!

January 14, 2020
By
eRum2020: call for submissions open!

The new year has started and we at MilanoR are deep into the frantic organization of the third European R User Meeting (eRum). eRum will take place next May (27-30) in Milan, it is a nonprofit event and completely community-driven.  An impressive array of experts, enthusiasts and R professionals will animate the conference. We expect The post eRum2020: call...

Read more »

Biomedical Data Science Textbook Available

January 13, 2020
By
Biomedical Data Science Textbook Available

By Bob Hoyt & Bob Muenchen Data science is being used in many ways to improve healthcare and reduce costs. We have written a textbook, Introduction to Biomedical Data Science, to help healthcare professionals understand the topic and to work … Continue reading →

Read more »

How to import Python classes into R

January 13, 2020
By
How to import Python classes into R

Background This post is going to talk about how to import Python classes into R, which can be done using a really awesome package in R called reticulate. reticulate allows you to call Python code from R, including sourcing Python scripts, using Python packages, and porting functions and classes. To install reticulate, we can run: The post How to...

Read more »

On the conjugate function

January 13, 2020
By
On the conjugate function

In the MAT7381 course (graduate course on regression models), we will talk about optimization, and a classical tool is the so-called conjugate. Given a function its conjugate is function such that so, long story short, is the maximum gap between the linear function and . Just to visualize, consider a simple parabolic function (in dimension 1) , then is...

Read more »

Le Monde puzzle [#1120]

January 13, 2020
By
Le Monde puzzle [#1120]

A board game as Le weekly Monde current mathematical puzzle: 11 players in a circle and 365 tokens first owned by a single player. Players with at least two tokens can either remove one token and give another one left or move two right and one left. How quickly does the game stall, how many

Read more »

Record Dec temperature and snow in Scotland

January 13, 2020
By
Record Dec temperature and snow in Scotland

Northern Scotland broken GB December temperature records in 2019, how has time affected snow cover?

Read more »

Convert Apple Card PDF Statements to Tidy Data (i.e. for CSV/Excel/database export)

January 13, 2020
By

I saw this CNBC article on an in-theory browser client-side-only conversion utility for taking Apple Card PDF statements and turning them into CSV files. Since I (a) never trust any browser or site and (b) the article indicated that there is a $5 fee to avoid the “single random transaction removal”, I felt compelled to... Continue reading →

Read more »

Sudoku game with R

January 13, 2020
By
Sudoku game with R

Sudoku is a classical logical game based on combinatorial number replacement puzzle. Objective is to to fill 9×9 matrix with digits so that each column, each row, and each box (3×3 sub-grid) of nine contain all of the digits from…Read more ›

Read more »

5 Reasons to Learn H2O for High-Performance Machine Learning

January 12, 2020
By
5 Reasons to Learn H2O for High-Performance Machine Learning

H2O is the scalable, open-source Machine Learning library that features AutoML. Here are 5 Reasons why it's an essential library for creating production data science code. Full-Stack Data Science Series This is part of a series of articles on ...

Read more »

pointblank v0.3

January 12, 2020
By
pointblank v0.3

English French German The newest release of the pointblank package makes it really easy to validate your data with workflows attuned to your data quality needs. You can install pointblank 0.3 from CRAN with: install.packages("pointblank") The design goals of pointblank are to enable two important data validation workflows with a common set of validation step functions, and, to have the code work seamlessly with...

Read more »

OMG O2G!

January 12, 2020
By
OMG O2G!

The oil-to-gas ratio was recently at its highest level since October 2013, as Middle East saber-rattling and a recovering global economy supported oil, while natural gas remained oversupplied despite entering the major draw season. Even though the ratio has eased in the last week, it remains over one standard deviation above its long-term average. Is now the time to...

Read more »

No Framework, No Problem! Structuring your project folder and creating custom Shiny components

January 12, 2020
By
No Framework, No Problem! Structuring your project folder and creating custom Shiny components

Pedro Coutinho Silva is a software engineer at Appsilon Data Science. It is not always possible to create a dashboard that fully meets your expectations or requirements using only existing libraries. Maybe you want a specific function that needs to be custom built, or maybe you want to add your own style or company branding. Whatever the case, a moment...

Read more »

How to reverse engineer a heat map into its underlying values

January 12, 2020
By
How to reverse engineer a heat map into its underlying values

Astrolabe Diagnostics is a fully bootstrapped five-person biotech startup. We offer the Antibody Staining Data Set (ASDS), a free service that helps immunologists find out the expression of different molecules (markers) across subsets in the immune system. Essentially, the ASDS is a big table of numbers, where every row is a subset and every column a … Continue reading How...

Read more »

Start 2020 with mad new skills you learned at rstudio::conf. Final Call

January 11, 2020
By
Start 2020 with mad new skills you learned at rstudio::conf. Final Call

There will be no better time or place this year to accelerate your knowledge of all things R and RStudio than at rstudio::conf 2020 in San Francisco. While we’re approaching capacity, there’s still room for you! Whether you’re a dedic...

Read more »

Data Science Essentials

January 11, 2020
By
Data Science Essentials

One the greatest strengths of R for data science work is the vast number and variety of packages and capabilities that are available. However, it can be intimidating to navigate this large and dynamic open source ecosystem, especially for a newcomer. All the information you need is out there, but it is often fragmented across numerous stack overflow threads...

Read more »

New vtreat Feature: Nested Model Bias Warning

January 11, 2020
By

For quite a while we have been teaching estimating variable re-encodings on the exact same data they are later naively using to train a model on, leads to an undesirable nested model bias. The vtreat package (both the R version and Python version) both incorporate a cross-frame method that allows one to use all the … Continue reading New...

Read more »

postdoc at Warwick on robust SMC [call]

January 11, 2020
By
postdoc at Warwick on robust SMC [call]

Here is a call for a research fellow at the University of Warwick to work with Adam Johansen and Théo Damoulas on the EPSRC and Lloyds Register Foundaton funded project “Robust Scalable Sequential Monte Carlo with application to Urban Air Quality”. To quote The position will be based primarily at the Department of Statistics of

Read more »

`R` you ready for python (gentle introduction to reticulate package)’

January 10, 2020
By

Just like how Thanos claimed to be inevitable in The Avengers, the direct or indirect use of python has become inevitable for R users in recent years. Fret not R users, you don’t have to abandon your favourite IDE, Rstudio, when using python. With the reticulate package you can use python in Rstudio and even have a mixture of...

Read more »

Heterogeneous treatment effects and homogeneous outcome variances

January 10, 2020
By
Heterogeneous treatment effects and homogeneous outcome variances

Recently there has been a couple of meta-analyses investigating heterogeneous treatment effects by analyzing the ratio of the outcome variances in the treatment and control group. The argument made in these articles is that if individuals differ in their response, then observed variances in the treatment and control group in RCTs should differ. For instance, Winkelbeiner et al. (2019)...

Read more »

rfoaas 2.1.0: New upstream so new access point!

January 9, 2020
By
rfoaas 2.1.0: New upstream so new access point!

FOAAS, having been resting upstream for some time, released version 2.1.0 of its wonderful service this week! So without too much further ado we went to work and added support for it. And now we are in fact thrilled to announce that release 2.1.0 of...

Read more »

heatmaply 1.0.0 – beautiful interactive cluster heatmaps in R

January 9, 2020
By
heatmaply 1.0.0 – beautiful interactive cluster heatmaps in R

I’m excited to announce that heatmaply version 1.0.0 has been published to CRAN! (getting started vignette is available here) What is heatmaply? heatmaply is an R package for easily creating interactive cluster heatmaps that can be shared online as a stand-alone HTML file. Interactivity includes a tooltip display of values when hovering over cells, as … Continue reading "heatmaply...

Read more »

glueformula: simply build regression formulas from vectors with variable names

January 9, 2020
By
glueformula: simply build regression formulas from vectors with variable names

The small new package glueformula with a single function gf facilitates constructing regression formulas from vectors with variable names. The syntax is similar to glue strings. Here is an example: # Example: build a formula # for ivreg with gf libra...

Read more »

A Year in Flow

January 8, 2020
By

Revisiting the river flow profile plot from an earlier post, the video below loops each day's flow profile for the Delaware River in 2019.  Data is from USGS gages processed using R and Windows Live Movie Maker.

Read more »

World map of visited countries in R

January 8, 2020
By

Like me, if you like traveling as much as R you might want to draw a world map of the countries you have visited in R. Below an example with the countries I have visited as of January 2020: To draw this map in R, you will need the following packages: library(highcharter) library(dplyr) library(maps) As usual, you need the packages to be installed on...

Read more »

Nonlinear combinations of model parameters in regression

Nonlinear combinations of model parameters in regression

Nonlinear regression plays an important role in my research and teaching activities. While I often use the ‘drm()’ function in the ‘drc’ package for my research work, I tend to prefer the ‘nls()’ function for teaching purposes, mainly because, in my opinion, the transition from linear models to nonlinear models is smoother, for beginners. One problem with ‘nls()’ is...

Read more »

BH 1.72.0-3 on CRAN

January 8, 2020
By
BH 1.72.0-3 on CRAN

The BH 1.72.0-1 release of BH required one update 1.72.0-2 when I botched a hand-edited path (to comply with the old-school path-length-inside-tar limit). Turns out another issue needed a fix. This release improved on prior ones by starting from a p...

Read more »

Search R-bloggers

Sponsors