October 2010

LondonR Rcpp slides

October 7, 2010 | romain francois

I'm just back to london where I presented about Rcpp at mango's LondonR event. This was the third time (after rmetrics and useR!) I presented these slides, so I allowed myself some new metaphores about my long term relationship with R and my ind... [Read more...]

Science is vital – what we don’t know yet

October 6, 2010 | respiratoryclub

This post is not about R (for a change). For working UK scientists, science is vital – sign the on-line petition to preserve science funding. For my contribution of what we don’t know yet - We don’t know whether we can use biomarkers of kidney injury to personalise the ... [Read more...]

Creating GUIs in R with gWidgets

October 6, 2010 | richierocks

The gWidgets framework is a way of creating graphical user interfaces in a toolkit independent way. That means that you can choose between tcl/tk, Gtk, Java or Qt underneath the bonnet. There's also a web-version based upon RApache and ExtJS. Since the code is the same in each case, ...
[Read more...]

R is Hot

October 6, 2010 | David Smith

Our mission at Revolution Analytics is to make R the statistical analysis tool of choice in the workplace. But even though R is pervasive in academia and rising in popularity generally, we still sometimes get blank faces when we demonstrate R to potential new clients. Sure, most people have heard ... [Read more...]

Belgian Astronomers and Exercise Machines

October 6, 2010 | C

In the twisting paths of human discovery, you never quite know what intellectual enterprise is going to result in a world changing discovery.  For instance, the mathematical notion of expected value did not grow up in a sterile, academic environment.   In 1654 Blaise Pascal was approached by Chevalier de Méré ... [Read more...]

Convert decimal to IEEE-754 in R

October 6, 2010 | Todos Logos

For some theory on the standard IEEE-754, you can read the Wikipedia page. Here I will post only the code of the function to make the conversion in R.First we write some functions to convert decimal numbers to binary numbers:decInt_to_8bit q r xx for(i in 1:... [Read more...]

How fast is JAGS?

October 6, 2010 | jackman

From Martyn Plummer, on the JAGS news blog. Key graph below, showing a few outlying cases in which JAGS is substantially slower than OpenBUGS, but generally, JAGS performs quite favorably. Key point from Martyn: Incidentally, these figures are for JAGS with the glm module loaded. The glm module is not ...
[Read more...]

Typos…

October 5, 2010 | xi'an

Edward Kao just sent another typo found both in  Monte Carlo Statistical Methods (Problem 3.21) and in Introducing Monte Carlo Methods with R (Exercise 3.17), namely that should be I also got another email from Jerry Sin mentioning that matrix summation in the matrix commands of Figure 1.2 of Introducing Monte Carlo Methods ...
[Read more...]

The Data Science Venn Diagram

October 5, 2010 | David Smith

Whenever I'm asked, "Who uses R?", I usually rattle off a long list of job titles: statistician, analyst, quant, researcher ... and that's before all the domain-specific titles. It would be nice if there were a simple, succinct phrase to describe the process of working with, analyzing, and communicating with real ... [Read more...]

Example 8.8: more Hosmer and Lemeshow

October 5, 2010 | Ken Kleinman

This is a special R-only entry.In Example 8.7, we showed the Hosmer and Lemeshow goodness-of-fit test. Today we demonstrate more advanced computational approaches for the test.If you write a function for your own use, it hardly matters what it looks l...
[Read more...]

Max Heart Rate Calculations Compared

October 4, 2010 | C

Physical fitness has become increasingly technical and data driven.  I started running a bit in the last few months and have been delving into the prevailing wisdom related to assessing ones health as a baseline for pursuing various fitness goals.... [Read more...]

Means By

October 4, 2010 | Tal Galili

The other day I was asked by a coworker hos to do a SAS Means By statement in R. I embarrassingly did not know how to so I wrote something up, and this is what I came up with, it takes a data.frame and an indexing variable and computes ... [Read more...]

Code Snippets in Revolution R

October 4, 2010 | David Smith

Ajay Ohri has been trying out the Code Snippets feature in Revolution R (available free to academics), and has found it handy for writing code for statistical analysis: Now even if you are averse to using a GUI /or GUI creators don’t have your particular analysis you can basically ... [Read more...]

The ARIMAX model muddle

October 4, 2010 | Rob J Hyndman

There is often confusion about how to include covariates in ARIMA models, and the presentation of the subject in various textbooks and in R help files has not helped the confusion. So I thought I’d give my take on the issue. To keep it simple, I will only describe ... [Read more...]

A tale of two returns

October 4, 2010 | Pat

It was the best of times, it was the worst of times. As you may have guessed, this is a mashup of a novel by Charles Dickens and an explanation of financial returns. The key plot element of A Tale of Two Cities is that there are two men, Charles ...
[Read more...]

V3 Station mash up

October 3, 2010 | Steven Mosher

Hmm, lets see how a fusion table works with map maker. The process works like this. We read in the GHCN inventory file into R. ( see code below ) We then clean it up ( the names fields and missing values) and we output it to a  *csv  file. Then open the ... [Read more...]
1 8 9 10 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)