2019

Le Monde puzzle [#1112]

October 2, 2019 | xi'an

Another low-key arithmetic problem as Le Monde current mathematical puzzle: Find the 16 integers x¹,x²,x³,x⁴,y¹,y²,y³,y⁴,z¹,z²,z³,z⁴,w¹,w²,w³,w⁴ such that the groups x¹,y¹,z¹,w¹, &tc., are made of distinct positive integers, the sum of the x’s ...
[Read more...]

You Can Override Just About Anything in R

October 2, 2019 | John Mount

To understand computations in R, two slogans are helpful: Everything that exists is an object. Everything that happens is a function call. John Chambers In R, the “[” array access operator is a function call. And it is one a user can re-bind to the new effect of their own choosing. ... [Read more...]

A 3D tour over Lake Geneva with rayshader

October 2, 2019 | Francois Keck

If you follow the #rstats news on Twitter, you have most likely seen the impressive 3D maps produced with Tyler Morgan-Wall’s rayshader package. I’ve been wanting to try it for a long time and I finally found the time to do it last week. As a limnologist living ...
[Read more...]

Counting NAs by column in R

October 1, 2019 | R | TypeThePipe

Are you starting your data exploration? Do you want to have an easy overview of your variable NA percentage? We create a function to benchmark different ways of achieving it: library(microbenchmark) library(tidyverse) benchmark_count_na_by_column % summary(), # Numeric output colSums(is.na(dataset)), sapply(dataset, function(x) ... [Read more...]

Multiple Hypothesis Testing in R

October 1, 2019 | R Views

In the first article of this series, we looked at understanding type I and type II errors in the context of an A/B test, and highlighted the issue of “peeking”. In the second, we illustrated a way to calculate always-valid p-values that were immune to peeking. We will now ... [Read more...]

Goodbye, Disqus! Hello, Utterances!

October 1, 2019 | Posts on Maëlle's R blog

Removing Disqus from my blogdown blog had been on my mind for a while, ever since I saw Bob Rudis’ tweet enjoining Noam Ross to not use it for his brand-new website. The same Twitter thread introduced me to Utterances, a “lightweight comments widget built on GitHub issues”, which I ... [Read more...]

How to use math symbols with ggdag

October 1, 2019 | Shige

The wonderful package ggdag can easily make DAG like this:However, what we really want to include in publications is something like this:The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, n...
[Read more...]

How to use math symbols with ggdag

October 1, 2019 | Shige

The wonderful package ggdag can easily make DAG like this: However, what we really want to include in publications is something like this: The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, not perfect but usable for now.-----------------------------------------------------------------library(dagitty)library(...
[Read more...]

How to use math symbols with ggdag

October 1, 2019 | Shige

The wonderful package ggdag can easily make DAG like this: However, what we really want to include in publications is something like this: The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, not perfect but usable for now.-----------------------------------------------------------------library(dagitty)library(...
[Read more...]

Forecast Stability Guidance for Model Selection

October 1, 2019 | Pradeep Mavuluri

Forecast Stability Guidance for Model Selection /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(... [Read more...]
1 32 33 34 35 36 155

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)