June 2019

A Shiny Comrades Marathon Pacing App

June 3, 2019 | R | datawookie

The Comrades Marathon is an epic ultramarathon run each year between Durban and Pietermaritzburg (South Africa). A few years ago I put together a simple spreadsheet for generating a Comrades Marathon pacing strategy. But the spreadsheet was clunky to u...
[Read more...]

A Shiny Comrades Marathon Pacing App

June 3, 2019 | R on datawookie

The Comrades Marathon is an epic ultramarathon run each year between Durban and Pietermaritzburg (South Africa). A few years ago I put together a simple spreadsheet for generating a Comrades Marathon pacing strategy. But the spreadsheet was clunky to use and laborious to maintain. Plus I was frustrated by the ...
[Read more...]

Wordclouds

June 3, 2019 | R | All Your Bayes

TLDR Wordclouds can be used to produce a neat summary of text and can readily be produced in R. This is a simple example based on a recent conferene paper. Summarising the content of a conference paper There is an R package dedicated to creating wordclouds, so I’ve started ...
[Read more...]

Animating Plots

June 3, 2019 | R | All Your Bayes

TLDR There are many instances where it may be useful to animate graphical representations of data, perhaps to add an additional dimension to a plot. The below example builds a cumulative map of car accidents in the UK using some of the functionality of the gganimate package. Making Moving Plots ...
[Read more...]

Introducing DeclareDesign, a Platform for Research Design

June 3, 2019 | R Views

Graeme Blair is an Assistant Professor of Political Science at UCLA. Jasper Cooper is a Postdoctoral Research Associate at the Kahneman-Treisman Center for Behavioral Science and Public Policy at Princeton University. Alexander Coppock is an Assistant Professor of Political Science at Yale University. Macartan Humphreys is a Professor of Political ...
[Read more...]

Kites and Darts: the Penrose Tiling

June 3, 2019 | @aschinchon

Agarrada a mis costillas le cuelgan las piernas (Godzilla, Leiva) Penrose tilings are amazing. Apart of the inner beauty of tesselations, they have two interesting properties: they are non-periodic (they lack any translational symmetry) and self-similar (any finite region appears an infinite number of times in the tiling). Both characteristics ...
[Read more...]

Pareto Models for Top Incomes

June 3, 2019 | arthur charpentier

With Emmanuel Flachaire, we uploaded on hal a paper on Pareto Models for Top Incomes, Top incomes are often related to Pareto distribution. To date, economists have mostly used Pareto Type I distribution to model the upper tail of income and wealth distribution. It is a parametric distribution, with an ... [Read more...]

Learning R: Permutations and Combinations with base R

June 3, 2019 | Learning Machines

The area of combinatorics, the art of systematic counting, is dreaded territory for many people so let us bring some light into the matter: in this post we will explain the difference between permutations and combinations, with and without repetitions, will calculate the number of possibilities and present efficient R ... [Read more...]

What is a Statistic?

June 2, 2019 | Gydo!

What is a Statistic? A statistic is a mathematical operation on a data set, performed to get information from the data. Below is the R code that generates 20 random samples. The samples are uniformly distributed between 0 and 1. Uniformly means all the data samples are equally likely, like when you flip ...
[Read more...]

Same name, different bird

June 2, 2019 | Martin Monkman

What do we mean when we see a bird and say that it’s a robin? A simple description would be a small brownish bird with a red breast. But that’s a superficial description, and when we say “robin” what we mean depends on your location; you don’t ...
[Read more...]

Visualizing the Green New Deal with R Shiny

June 2, 2019 | Sam Collier

New York has pressed on with environmental legislation while the nation dawdles - where and by whom will the impact be felt? Shiny app | GitHub As mentioned in my last post, effective and timely legislation will be a key weapon in the battle to keep greenhouse gas emissions at sustainable ...
[Read more...]

IRT From Scratch

June 1, 2019 | R on Sam Portnow's Blog

Programming an IRT, 2Pl Model from Scratch (So You Don’t Have to) I recently had a client that was looking to build a 2PL model from scratch. The 2PL describes the process through which someone gets a correct or incorrect response on a test. More ... [Read more...]
1 10 11 12 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)