August 2010

Using XML package vs. BeautifulSoup

August 31, 2010 | Ryan

A while back I posted something about scraping a webpage using the BeautifulSoup module in Python.  One of the comments to that post was by Larry — a blogger over at IEORTools — suggesting that I take a look at … Continue reading → [Read more...]

Better than Average

August 31, 2010 | C

The NIST's The Engineering Statistics Handbook includes an Introduction to Time Series Analysis which provides a great way of demonstrating how R can be used to make such calculations.  This post replicates the analys... [Read more...]

apply functions in R

August 31, 2010 | Samuel Brown

Getting to know the "apply"s in R is extremely handy for using the language efficiently and effectively. Unfortunately, the help files tend to be rather information-dense and are fairly overwhelming for newcomers. A recent blog post by Neil Saunders pr... [Read more...]

Birds of a feather shop together

August 31, 2010 | dan

PREDICTING CONSUMER BEHAVIOR FROM SOCIAL NETWORKS This week, Decision Science News is doing a special cross-posting with Messy Matters. The post below is by Sharad Goel and describes work that he and your Decision Science News editor Dan Goldstein are jointly undertaking at Yahoo! Do you know what the #$*! your ... [Read more...]

R is indispensable, because it’s reproducible

August 31, 2010 | David Smith

Maria Wolters, self-styled "Science-Mum of two" and speech and language technology researcher, has a great blog post about the one tool she couldn't live without: R. Maria says R is her "favourite tool for analysing experimental results and modelling the resulting patterns of behaviour and preferences", and explains why: R ... [Read more...]

Soil Properties Visualized on a 1km Grid

August 31, 2010 | dylan

Fresno Area Urban Areas vs Irrigated LCC: grey regions are current urban areas A couple of maps generated from a 1km gridded soil property database, derived from SSURGO data where available with holes filled with STATSGO data. Soil properties visualize... [Read more...]

Namespaces and name conflicts

August 31, 2010 | Michal

R packages ‘igraph’ and ‘network’ are good examples of two R packages providing similar but complementary functionalities for which there are a lot of name conflicts. As for now the ‘igraph’ package has a namespace while the ‘network’ package (version 1.4-1) does not. This became an issue when I was ... [Read more...]

Even Simpler Multivariate Correlated Simulations

August 31, 2010 | JD Long

So after yesterday’s post on Simple Simulation using Copulas I got a very nice email that basically begged the question, “Dude, why are you making this so hard?” The author pointed out that if what I really want is a Gaussian correlation structure for Gaussian distributions then I could ... [Read more...]

Map colors

August 31, 2010 | Steven Mosher

Reader P was kind enough to make us a new color map so I promptly played around with it and other parameters. Need to figure out how to drop the labels and ticks on the “map”  map.axes() is no help. In anycase, I had a day long struggle with ... [Read more...]

NppToR 2.4.0 Adds Auto-Completion

August 30, 2010 | andrew

I’ve had a wonderful summer, very busy, but now I’ve finally had some time to sit down and program some thing on NppToR that I’ve been wanting to get out.  Thanks to Yihui Xie and his wonderful R script for generating auto-completion files, NppToR now has a ... [Read more...]

Econometrics and R

August 30, 2010 | Rob J Hyndman

Econometricians seem to be rather slow to adopt new methods and new technology (compared to other areas of statistics), but slowly the use of R is spreading. I’m now receiving requests for references showing how to use R in econometrics, and so I thought it might be helpful to ... [Read more...]

Hyper-g priors

August 30, 2010 | xi'an

Earlier this month, Daniel Sabanés Bové and Leo Held posted a paper about g-priors on arXiv. While I glanced at it for a few minutes, I did not have the chance to get a proper look at it till last Sunday. The g-prior was first introduced by the late ... [Read more...]

The Chosen One

August 30, 2010 | Matt Asher

Toss one hundred different balls into your basket. Shuffle them up and select one with equal probability amongst the balls. That ball you just selected, it’s special. Before you put it back, increase its weight by 1/100th. Then put it back, mix up the balls and pick again. If ... [Read more...]

Stochastic Simulation With Copulas in R

August 30, 2010 | JD Long

A friend of mine gave me a call last week and was wondering if I had a little R code that could illustrate how to do a Cholesky decomposition. He ultimately wanted to build a Monte Carlo model with correlated variables. I pointed him to a number of packages that ... [Read more...]

Where to Start with PDQ?

August 30, 2010 | Neil Gunther

Once you've downloaded PDQ with a view to solving your performance-related questions, the next step is getting started using it. Why not have some fun with blocks? Fun-ctional blocks, that is. Since all digital computers and network systems can be considered as a collection of functional blocks and these blocks ... [Read more...]

Sweet bar chart o’ mine

August 30, 2010 | richierocks

Last week I was asked to visualise some heart rate data from an experiment. ... The standard way of displaying a time series (that is, a numeric variable that changes over time) is with a line plot. ... The experimenters, however, wanted a bar chart. I hadn't considered this use of a ... [Read more...]

Example 8.3: pyramid plots

August 30, 2010 | Nick Horton

Pyramid plots are a common way to display the distribution of age groups in a human population. The percentages of people within a given age category are arranged in a barplot, often back to back. Such displays can be used distinguish males vs. femal...
[Read more...]
1 2 3 11

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)