January 2020

an elegant sampler

January 14, 2020 | xi'an

Following an X validated question on how to simulate a multinomial with fixed average, W. Huber produced a highly elegant and efficient resolution with the compact R code tabulate(sample.int((k-1)*n, s-n) %% n + 1, n) + 1 where k is the number of classes, n the number of draws, and s ...
[Read more...]

sklearn Pipe Step Interface for vtreat

January 14, 2020 | John Mount

We’ve been experimenting with this for a while, and the next R vtreat package will have a back-port of the Python vtreat package sklearn pipe step interface (in addition to the standard R interface). This means the user can express easily express modeling intent by choosing between coder$fit_... [Read more...]

Get Better: early career researcher development

January 14, 2020 | quantixed

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 ... [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 | Economics and R - R posts

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 ...
[Read more...]

Business Case Analysis with R (Guest Post)

January 14, 2020 | Learning Machines

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 ... [Read more...]

eRum2020: call for submissions open!

January 14, 2020 | MilanoR

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 ... [Read more...]

Biomedical Data Science Textbook Available

January 13, 2020 | Bob Muenchen

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 | Andrew Treadway

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 ...
[Read more...]

On the conjugate function

January 13, 2020 | arthur charpentier

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 ...
[Read more...]

Le Monde puzzle [#1120]

January 13, 2020 | xi'an

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 ...
[Read more...]

Sudoku game with R

January 13, 2020 | tomaztsql

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

OMG O2G!

January 12, 2020 | R on OSM

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 ...
[Read more...]
1 7 8 9 10 11 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)