Posts Tagged ‘ English ’

ggplot2 Version of Figures in “25 Recipes for Getting Started with R”

August 16, 2011
By
ggplot2 Version of Figures in “25 Recipes for Getting Started with R”

In order to provide an option to compare graphs produced by basic internal plot function and ggplot2, I recreated the figures in the book, 25 Recipes for Getting Started with R, with ggplot2. The code used to create the images is in separate paragraphs, allowing easy comparison. Read...

Read more »

the batman equation

August 13, 2011
By
the batman equation

HardOCP has an image with an equation which apparently draws the Batman logo. Read More: 1295 Words Totally

Read more »

ProjectEuler-Problem 46

June 21, 2011
By
ProjectEuler-Problem 46

It was proposed by Christian Goldbach that every odd composite number can be written as the sum of a prime and twice a square. 9 = 7 + 212 15 = 7 + 222 Read More: 461 Words Totally

Read more »

On Dirichlet’s approximation theorem

June 19, 2011
By
On Dirichlet’s approximation theorem

This is one of my favourites: in 1840 the German mathematician Dirichlet proved an elegant theorem, known as “Dirichlet’s approximation theorem“. The proof is surprisingly simple, but the usefulness of the proposition in some fields of mathematics, such as Diophantine analysis is remarkable. It goes as follows: Let a be a real number and N

Read more »

R-bloggers

June 19, 2011
By
R-bloggers

This humble blog is proudly part of R-bloggers, since a couple of weeks. I had this website as my homepage for some months now and I have found therein really inspiring and informative things. So I wish all the best to Tal Galili and his great job with...

Read more »

R package DOSE released

June 12, 2011
By

Disease Ontology (DO) provides an open source ontology for the integration of biomedical data that is associated with human disease. DO analysis can lead to interesting discoveries that deserve further clinical investigation. DOSE was designed for semantic similarity measure and enrichment analysis. Read More: 619 Words Totally

Read more »

Always learn and never know

June 3, 2011
By
Always learn and never know

I have been using R for about two years, with no previous coding background. So, I feel like the title says, “always learn and never know”. This time, I decided to use R to study a simple, non-statistical problem that came up some time ago. Suppose the exponential function 2^x and the parabola x^2. One

Read more »

Dicetributions – episode I

May 29, 2011
By
Dicetributions – episode I

Suppose the following game with two players: In every round, the two players pick a random number, each. Instead of using a dice, they pick a number from an interval. Player A picks a number from and player B from . Variation 1. The greater number wins. Who is more likely to win? It

Read more »

Music file graphs with R

May 22, 2011
By
Music file graphs with R

Today we will use R to extract some interesting summary statistics regarding the music files stored in the computer. For all mp3 files I keep certain metadata in their ID3 tag. We will use this information to explore the distribution of music files with respect to the year of release. All the following are done

Read more »

[Project Euler] – Problem 58

May 21, 2011
By
[Project Euler] – Problem 58

Starting with 1 and spiralling anticlockwise in the following way, a square spiral with side length 7 is formed. 37 36 35 34 33 32 31 38 17 16 15 14 13 30 Read More: 597 Words Totally

Read more »