Blog Archives

Euler Problem 19: Counting Sundays — When does the week start?

May 3, 2017
By

Solution in R to Euler Problem 19: How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)? Continue reading → The post Euler Problem 19: Counting Sundays — When does the week start? appeared first on The Devil is in the Data.

Read more »

Euler Problem 18 & 67: Maximum Path Sums

April 26, 2017
By
Euler Problem 18 & 67: Maximum Path Sums

Proposed solution to Euler Problem 18 in the R language. Find the maximum total from top to bottom of a triangle consisting of numbers. Continue reading → The post Euler Problem 18 & 67: Maximum Path Sums appeared first on The Devil is in the Data.

Read more »

R-Cade Games: Simulating the Legendary Game of Pong

April 19, 2017
By
R-Cade Games: Simulating the Legendary Game of Pong

Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language. Continue reading → The post R-Cade Games: Simulating the Legendary Game of Pong appeared first on The Devil is in the Data.

Read more »

Data Science from a Strategic Business Perspective

April 11, 2017
By
Data Science from a Strategic Business Perspective

Summary of my presentation to the Melbourne R user Group (MelbuRn) about Data science from a Strategic Business Perspective. Continue reading → The post Data Science from a Strategic Business Perspective appeared first on The Devil is in the Data.

Read more »

Tic Tac Toe War Games: The Intelligent Minimax Algorithm

April 5, 2017
By
Tic Tac Toe War Games: The Intelligent Minimax Algorithm

Using the R language to build a Tic Tac Toe War Games simulator. Teach your computer to play a perfect game of Naughts and Crosses. Continue reading → The post Tic Tac Toe War Games: The Intelligent Minimax Algorithm appeared first on The Devil is in the Data.

Read more »

Data Pseudo-Science: Developing a Biorhythm Calculator

March 29, 2017
By
Data Pseudo-Science: Developing a Biorhythm Calculator

Data science is a pretty serious occupation. What about data pseudoscience? This blog post shows how to calculate your biorhythm using R. Continue reading → The post Data Pseudo-Science: Developing a Biorhythm Calculator appeared first on The Devil is in the Data.

Read more »

Euler Problem 17: Number Letter Counts

March 22, 2017
By
Euler Problem 17: Number Letter Counts

A solution in the R language to Euler Problem 17: If all the numbers from 1 to 1000 inclusive were written out in words, how many letters would be used? Continue reading → The post Euler Problem 17: Number Letter Counts appeared first on The Devil is in the Data.

Read more »

Euler Problem 16: Power Digit Sum

March 15, 2017
By
Euler Problem 16: Power Digit Sum

A solution in the R language to Euler Problem 16. What is the sum of the digits of the number 2^1000? This post provides a solution using basic r code. Continue reading → The post Euler Problem 16: Power Digit Sum appeared first on The Devil is in the Data.

Read more »

Tic Tac Toe Simulation — Random Moves

March 12, 2017
By
Tic Tac Toe Simulation — Random Moves

Tic Tac Toe might be a futile children’s game but it can also teach us about artificial intelligence. Tic Tac Toe, or Naughts and Crosses, is a zero-sum game with perfect information. Both players know exactly what the other did and when nobody … Continue reading → The post Tic Tac Toe Simulation — Random Moves appeared first on...

Read more »

Euler Problem 15: Pathways Through a Lattice

March 9, 2017
By
Euler Problem 15: Pathways Through a Lattice

Solution in the R language to project Euler Problem 15. The problem asks to calculate the number of pathways through a 20 by 20 grid. Continue reading → The post Euler Problem 15: Pathways Through a Lattice appeared first on The Devil is in the Data.

Read more »

Sponsors

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)