# 2612 search results for "ggplot2"

## A Practical Example of Calculating Padé Approximant Coefficients Using R

June 4, 2015
By

Introduction I recently had the opportunity to use Padé approximants. There is a lot of good information available on line on the theory and applications of using Padé approximants, but I had trouble finding a good example explaining just how to calculate the co-efficients. Basic Background Hearken back to undergraduate calculus for a moment. For Read the full...

## My aversion to pipes

June 3, 2015
By

At the risk of coming across as even more of a curmudgeonly old fart than people already think I am, I really do dislike the current vogue in R that is the pipe family of binary operators; e.g. %>%. Introduced by Hadley Wickham and popularised and advanced via the magrittr package by Stefan Milton Bache, the basic idea...

## How To Analyze Data: Seven Modern Remakes Of The Most Famous Graphs Ever Made

June 2, 2015
By

Graphs can be beautiful, powerful tools. Graphs help us explore and explain the world. For hundreds of years, humans have used graphs to tell stories with data. To pay homage to the history of data visualization and to the power of graphs, we’ve recreated the most iconic graphs ever made. Some are remakes of the original shown in a...

## Simple Data Science To Maximize Return On Lottery Investment

June 1, 2015
By

Every finite game has an equilibrium point (John Nash, Non-Cooperative Games, 1950) I read recently this amazing book, where I discovered that we (humans) are not capable of generating random sequences of numbers by ourselves when we play lottery. John Haigh demonstrates this fact analyzing a sample of 282 raffles of 6/49 UK Lotto. Once … Continue reading...

## Static and moving circles

May 29, 2015
By

After the previous post on the packcircles package for R someone suggested it would be useful to be able to fix the position of selected circles. As a first attempt, I've added an optional weights argument to the circleLayout function. Weights can be in the range 0-1 inclusive, where a weight of 0 prevents a circle from moving,...

## Analysis of gene expression timecourse data using maSigPro

May 28, 2015
By

About a year ago, I did a little work on a very interesting project which was trying to identify blood-based biomarkers for the early detection of stroke. The data included gene expression measurements using microarrays at various time points after the onset of ischemia (reduced blood supply). I had not worked with timecourse data before,

## An R Enthusiast Goes Pythonic!

May 28, 2015
By

I’ve spent so many years using and broadcasting my love for R and using Python quite minimally. Having read recently about machine learning in Python, I decided to take on a fun little ML project using Python from start to … Continue reading →

## Searching for the Steamer retroelement in the ocean metagenome

May 25, 2015
By

Last week, I was listening to episode 337 of the podcast This Week in Virology. It concerned a retrovirus-like sequence element named Steamer, which is associated with a transmissible leukaemia in soft shell clams. At one point the host and guests discussed the idea of searching for Steamer-like sequences in the data from ocean metagenomics

## Paper Helicopter experiment, part II

May 25, 2015
By

Last week I created a JAGS model combining data from two paper helicopter datasets. This week, I will use the model to find the longest flying one.PredictingThe JAGS/RJAGS system has no predict() function that I know of. What I therefore did is adapt t...

## Are Canadian newspapers painting false pictures with data?

May 20, 2015
By

The Canadian newspaper, Globe and Mail, is a leader in diction and style, but it may need improvement in the ‘grammar of graphics’.Globe’s recent depiction of metropolitan economic growth in the series Off the Charts was way off the mark. The chart plotted the current and forecasted GDP growth rates for select cities in Canada. The...