Blog Archives

googleVis — where did SYTYCD dancers come from?

July 21, 2012
By

After watching 20 wonderful dancers of the 9th season of So You Think You Can Dance, I have presented a geomap of  the states where they are coming from (click here). Now, I am interested to this show’s history.  I’d like to re-draw the … Continue reading →

Read more »

Project Euler — problem 15

July 18, 2012
By
Project Euler — problem 15

The 15th problem in Project Euler. Starting in the top left corner of a 22 grid, there are 6 routes (without backtracking) to the bottom right corner. How many routes are there through a 2020 grid? Mmm… walk in the … Continue reading →

Read more »

Project Euler — problem 14

July 16, 2012
By
Project Euler — problem 14

It’s Monday today! It’s work day! And I’ve already worked on computer for two hours. Time for a break, which is the 14th problem of Project Euler. The following iterative sequence is defined for the set of positive integers: n n/2 (n … Continue reading →

Read more »

Project Euler — problem 13

July 9, 2012
By

The 13th in Project Euler is one big number problem: Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. Obviously, there are some limits in machine representation of numbers. In R, 2^(-1074) is the smallest … Continue reading →

Read more »

leaf area measuring — R package “EBImage”

July 9, 2012
By
leaf area measuring — R package “EBImage”

Besides microscopic images in our routine, common photos are frequently taken to measure quantitative plant features, such as leaf area, root length, branch numbers, etc. Scientific software is available for manual processing. For example, to measure the root length, one need to use the … Continue reading →

Read more »

Project Euler — problem 12

July 7, 2012
By

Going to supper in 20 minutes. I’d like to type down my solution to the 12th Euler problem, just make my time count. The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number … Continue reading →

Read more »

automated cell phenotyping — R package “EBImage”

July 5, 2012
By
automated cell phenotyping — R package “EBImage”

Counting cells under microscope is always laborious and null. Those in the art would be relieved with assistance of a powerful image processing package, EBImage. Images are treated as “Image” objects, essentially multi-dimensional arrays. The class “Image” contains spatial information, pixel … Continue reading →

Read more »

Project Euler — problem 11

July 2, 2012
By
Project Euler — problem 11

It’s been a while since I solved one Euler problem last time. Has been busy. Now I’m back and continue to solve the next problem, which is to find the maximum. Let’s take a look at the 11th problem: What … Continue reading →

Read more »

SYTYCD — where are these terrific dancers come from?

June 29, 2012
By

It’s Saturday midnight and I’m already sleepy. However, after several hours, I finally got this google geographic map embedded in my post. Aha!!! This is about 20 finalists from the 9th season of So You Think You Can Dance. I count the states … Continue reading →

Read more »

google R style guide

June 19, 2012
By

After writing several hundreds of lines of R codes, I start to pay some attention to my coding style. Fortunately, I find a document about R style guide in google code. Surprisingly, R is among the most popular programming languages, such as C++, objective-C, python, java and html. I didn’t realize … Continue reading →

Read more »