July 2017

Hacking Strings with stringi

July 28, 2017 | Biswarup Ghosh

In the last set of exercises, we worked on the basic concepts of string manipulation with stringr. In this one we will go further into hacking strings universe and learn how to use stringi package.Note that stringi acts as a backend of stringr but have many more useful string ... [Read more...]

simmer 3.6.3

July 28, 2017 | Iñaki Úcar

The third update of the 3.6.x release of simmer, the Discrete-Event Simulator for R, is on CRAN. First of all and once again, I must thank Duncan Garmonsway (@nacnudus) for writing a new vignette: “The Bank Tutorial: Part II”. Among various fixes and performance improvements, this release provides a way ... [Read more...]

Visualising Similarity: Maps vs. Graphs

July 28, 2017 | The Exactness of Mind

The visualization of complex data sets is of essential importance in communicating your data products. Beyond pie charts, histograms, line graphs and other common forms of visual communication begins the reign of data sets that encompass too much information to be easily captured by these simple data displays. A typical ... [Read more...]

Joy Plot of Length Frequencies

July 27, 2017 | fishR Blog

There has been a bit of a buzz recently about so-called “joyplots.” Wilke described joyplots as “partially overlapping line plots that create the impression of a mountain range.” I would describe them as partially overlapping densit... [Read more...]

The German fuel prices data set

July 27, 2017 | Boris Vaillant

The data set on German fuel prices contains the fuel prices, but not the sales, from more than 14000 fuel stations in Germany since June 2014. It is made available by the webservice Tankerkoenig as a Postgres dump (from June 2014 onwards) under CC... [Read more...]

Looking for R at JSM

July 27, 2017 | R Views

I am very much looking forward to attending JSM which begins this Sunday. And once again, I will be spending a good bit of my time hunting for new and interesting applications of R. In years gone by, this was a difficult game at JSM because R, R Package, Shiny, ... [Read more...]

Le Monde puzzle [#1707]

July 27, 2017 | xi'an

A geometric Le Monde mathematical puzzle: Given a pizza of diameter 20cm, what is the way to cut it by two perpendicular lines through a point distant 5cm from the centre towards maximising the surface of two opposite slices?  Using the same point as the tip of the four slices, ...
[Read more...]

The R6 Class System

July 27, 2017 | David Smith

R is an object-oriented language with several object-orientation systems. There's the original (and still widely-used) S3 class system based on the "class" attribute. There's the somewhat stricter, signature-based S4 class system. There are reference classes (also called R5), which provide R objects with multiple references without duplicating data in memory. ... [Read more...]

Options for teaching R to beginners: a false dichotomy?

July 27, 2017 | Nick Horton

I've been reading David Robinson's excellent blog entry "Teach the tidyverse to beginners" (http://varianceexplained.org/r/teach-tidyverse), which argues that a tidyverse approach is the best way to teach beginners.  He summarizes two competing curricula:1) "Base R first": teach syntax such as $ and [[]], built in functions like ave() and ...
[Read more...]

Divided Differences Method of Polynomial Interpolation

July 27, 2017 | Aaron Schlegel

Part of 6 in the series Numerical AnalysisThe divided differences method is a numerical procedure for interpolating a polynomial given a set of points. Unlike Neville’s method, which is used to approximate the value of an interpolating polynomial at a given point, the divided differences method constructs the interpolating polynomial... ...
[Read more...]
1 2 3 4 14

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)