Posts Tagged ‘ r-project ’

Digitizing data from old plots using ‘digitize’

June 23, 2011
By

The June 2011 issue of The R Journal contains an article on the R package digitize (link to pdf) by Timothée Poisot. This might prove to be a handy tool if you occasionally find yourself needing to retrieve data points from figures in old articles for...

Read more »

New Issue in the R Journal

June 23, 2011
By

Today, the first issue of the third volume of The R Journal was published: http://journal.r-project.org/current.html. The R Journal intends to reach a wide audience and is one of the main communication media in the R community. Usually, two issues are published each year. This issue presents 10 interesting research articles especially introducing to new R

Read more »

New CRAN package for R package development: devtools

June 23, 2011
By

Yesterday, Hadley Wickham released his new package “devtools” at the CRAN repository. A great R package which supports the development process of R packages. R Packages are the fundamental unit of reproducible R code. The development of R packages is a complex topic and requires several additional tasks next to R programming. For example, you

Read more »

Meet cloudnumbers.com at the UseR2011 conference in UK

June 21, 2011
By

cloudnumbers.com provides researchers and companies with the resources to perform high performance calculations in the cloud. We currently focus on the well-known open-source statistics program R (http://www.r-project.org). R is a strongly functional language and environment for statistical computing. You can explore data sets, make graphical displays of data, run statistical simulations and much more. This

Read more »

High Performance Computing in the Cloud with cloudnumbers.com

June 10, 2011
By

Who we are cloudnumbers.com provides researchers and companies with the resources to perform high performance calculations in the cloud. We help our customers to fight epidemics, develop highly advanced drugs and manage financial risk. Our aim is to change the way research collaboration is done today by bringing together scientists and businesses from all over

Read more »

Image color palette replacement

June 9, 2011
By
Image color palette replacement

Here is an example of a function I wrote to change the color palette used in an image. The above example comes from a black and white original, although color images can also be used. The function first converts the image to grayscale in order to have ...

Read more »

Simulating CMYK mis-registration printing

June 3, 2011
By
Simulating CMYK mis-registration printing

I recently came across a poster advertising a children's production of Shakespeare's The Tempest where they purposely used an effect to mimic a mis-registration in CMYK printing. You have probably seen this before as a slight offset in one of t...

Read more »

map.xyz(): interpolation of XYZ data and projection onto a map

May 30, 2011
By
map.xyz(): interpolation of XYZ data and projection onto a map

     I am still struggling to get a grasp of R's mapping capabilities. Part of my frustration lies in the fact that I often work on areas near the poles, which complicates interpolation across the 180 degree line. For smaller areas, interpolati...

Read more »

Array position to matrix coordinates conversion

May 30, 2011
By
Array position to matrix coordinates conversion

#A function that is sometimes useful in determining the #coordinate(i.e. row and column number) of a matrix position#(and vice-versa). #Either a vector of positions ("pos") #OR a 2 column matrix of matrix coordinates, ("coord", i.e. cbind(row,col)), #A...

Read more »

R functions for Earth geographic coordinate calculations

May 29, 2011
By
R functions for Earth geographic coordinate calculations

Here are some functions that I regularly use for geographic data (e.g. binning, filtering, calculation of new positions etc.).#distance in kilometers between two long/lat positions (from "fossil" package)earth.dist <- function (long1, lat1, long2, l...

Read more »