2011

PostGIS Quickie

November 10, 2011 | dylan

Today I needed to cut out a rectangle of geologic data from a state-wide map in an AEA coordinate system, using a bounding box from a UTM zone 10 region, with the output saved in UTM zone 10 coordinates. PostGIS makes this type of operation very simple... [Read more...]

Web Scraping Yahoo Search Page via XPath

November 10, 2011 | Tony Breyal

Seeing as I’m on a bit of an XPath kick as of late, I figured I’d continue on scraping search results but this time from Yahoo.com Rolling my own version of xpathSApply to handle NULL elements seems to have done the trick and so far it’s ... [Read more...]

Changing world, Changing JGB term structure

November 10, 2011 | teramonagi

Writing the article "How much does "Beta" change depending on time?", I learned how to create an animation by using R language. Then, I would like to continue do that in this article.In this article, I visualize time series of JGB term struct... [Read more...]

In case you missed it: October Roundup

November 10, 2011 | David Smith

In case you missed them, here are some articles from October of particular interest to R users. The creator of the ggplot2 package, Hadley Wickham, shares details on some forthcoming big-data graphics functions (based on research sponsored by Revolution Analytics). A list of several dozen free data sources that can ... [Read more...]

Code optimization, an Rcpp solution

November 10, 2011 | romain francois

Tony Breyal woke up an old code optimization problem in this blog post, so I figured it was time for an Rcpp based solution This solutions moves down Henrik Bengtsson's idea (which was at the basis of attempt 10) down to C++. The idea was to call sprintf less than the ... [Read more...]

Expected Salary by Major

November 10, 2011 | rafalab

In this recent editorial about the Occupy Wall Street movement, Richard Kim profiles a protestor that despite having a master’s degree can’t find a job. This particular protestor quit his job as a school teacher three years ago and took out a $... [Read more...]

Facebook Graph API Explorer with R

November 10, 2011 | Tony Breyal

I wanted to play around with the Facebook Graph API  using the Graph API Explorer page as a coding exercise. This facility allows one to use the API with a temporary authorisation token. Now, I don’t know how to make an R package for the proper API where you ... [Read more...]

Bridge and Torch problem in R

November 10, 2011 | jedifran

A couple months ago I came across the bridge and torch problem at a careers fair in Oxford. A young tech company called QuBit used it as a brain teaser challenge for would be software engineers to solve before submitting … Continue reading → [Read more...]

Diagram for a Bernoulli process (using R)

November 10, 2011 | Tal Galili

A Bernoulli process is a sequence of Bernoulli trials (the realization of n binary random variables), taking two values (0/1, Heads/Tails, Boy/Girl, etc…). It is often used in teaching introductory probability/statistics classes about the binomial distribution. When visualizing a Bernoulli process, it is common to use a binary ... [Read more...]

R 101: The Subset Function

November 9, 2011 | Abraham Mathew

The subset function is available in base R and can be used to return subsets of a vector, martix, or data frame which meet a particular condition. In my three years of using R, I have repeatedly used the subset() function and believe that it is the most useful tool ... [Read more...]

Geometric Efficient Frontier

November 9, 2011 | systematicinvestor

What is important for an investor? The rate of return is at the top of the list. Does the expected rate of return shown on the mean-variance efficient frontier paints the full picture? If investor’s investment horizon is longer than one period, for example 5 years, than the true measure ... [Read more...]

Suggest some R tasks for high-schoolers

November 9, 2011 | David Smith

Many high-schoolers are now using R in class, and to help even more students get exposure to R (while improving R itself), Virgilio Gómez-Rubio is seeking suggestions for projects for the next Google Code-In: An application has been put forward for R to participate in Google Code-in. This is ... [Read more...]

Getting Started With Twitter Analysis in R

November 9, 2011 | Tony Hirst

Earlier today, I saw a post vis the aggregating R-Bloggers service a post on Using Text Mining to Find Out What @RDataMining Tweets are About. The post provides a walktrhough of how to grab tweets into an R session using the twitteR library, and then do some text mining on ... [Read more...]

project euler – problem 49

November 8, 2011 | R on Guangchuang Yu

The arithmetic sequence, 1487, 4817, 8147, in which each of the terms increases by 3330, is unusual in two ways: (i) each of the three terms are prime, and, (ii) each of the 4-digit numbers are permutations of one another. There are no arithmetic sequences made up of three 1-, 2-, or 3-digit primes, ... [Read more...]
1 20 21 22 23 24 143

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)