June 2010

Do Not Log-Transform Count Data, Bitches!

June 17, 2010 | jebyrnes

OK, so, the title of this article is actually Do not log-transform count data, but, as @ascidacea mentioned, you just can’t resist adding the “bitches” to the end. Onwards. If you’re like me, when you learned experimental stats, you were taught to worship at the throne of the ...
[Read more...]

Stack exchange for statistical analysis needs you!

June 17, 2010 | Rob J Hyndman

The proposal to create a StackExchange site for statistical analysis is steadily moving forward. We have now completed the scoping stage which involved finding enough people willing to express an interest in the idea, and voting on some example questions to define what is allowed and what is not allowed ... [Read more...]

Installing Ruby on Linux as a User other than root

June 17, 2010 | C

Ruby is best known as the language behind the rails web application framework. However, it is a very flexible general purpose language that can be used for tasks of direct interest to R Developers (parsing files, interacting with databases, processing...
[Read more...]

Playing with Primes in R (Part II)

June 17, 2010 | Neil Gunther

Popping Part III off the stack—where I ended up unexpectedly discovering that the primes and primlist functions are broken in the schoolmath package on CRAN—let's see what prime numbers look like when computed correctly in R. To do this, I've had to roll my own prime number generating ... [Read more...]

Messing with R packages

June 17, 2010 | nmv

This was really frustrating. I’m trying to modify a package from Matt Johnson and although I could get the package he sent me to install flawlessly, I couldn’t un-tar it, make a change, re-tar it, and then R CMD INSTALL … Continue reading → [Read more...]

Shrinking R’s PDF output

June 17, 2010 | Adam M. Wilson

R is great for graphics, but I've found that the PDF's R produces when drawing large plots can be extremely large. This is especially common when using spplot() to plot a large raster. I've made a 15 page PDF full of rasters that was hundreds of MB in ...
[Read more...]

Shrinking R’s PDF output

June 17, 2010 | AdamWilson

R is great for graphics, but I've found that the PDF's R produces when drawing large plots can be extremely large. This is especially common when using spplot() to plot a large raster. I've made a 15 page PDF full of rasters that was hundreds of MB in size.  Obviously I ... [Read more...]

Calling Ruby, Perl or Python from R

June 16, 2010 | C

If you want to interact with other programming languages from R, there are various packages and bindings available. These packages provide a pretty high degree of integration between the langages and allow you to pass objects back and forth seemlessl...
[Read more...]

Conferenza a Padova

June 16, 2010 | xi'an

Today and tomorrow, I am attending the annual Italian statistical society meeting. While I appreciate very much the invitation, as well as the opportunity to walk through  Padova and Venezia for a short (and alas rainy!) hour on the way there (leaving home at 8am, walking in Venezia at noon!), ... [Read more...]

R-help follow-up: truncated exponential

June 16, 2010 | Matt Shotwell

I recently posted the message below with regard to sampling from the truncated exponential distribution. I left out the derivation of the CDF (mostly because text math is ugly), so I’ve included it here. There is also a short JSS article about truncated distributions in R. This problem in ... [Read more...]

R Sapply Problem

June 16, 2010 | Quantitative Finance Collector

Any expert in R please educates me. I have got a problem about the sapply (or lapply), it made me headache for over two hours.As "for loop" is very slow in R, we should try best to avoid using it, and to use vectorization instead. sapply is designed for ... [Read more...]

R Commander – hypothesis testing

June 16, 2010 | Ralph

The R Commander GUI can be used to perform classical hypothesis testing. There are menu options to undertake the variants on the t-test as well as tests on proportions or equality of variances for two samples of data. Fast Tube by Casper The “Statistics” menu provides access to various hypothesis ... [Read more...]

The distribution of online data usage

June 16, 2010 | David Smith

AT&T has recently announced it will no longer offer unlimited data plans for new iPhone users in the US, and now some carriers in the UK have followed suit. In each case, the providers claim that only a very small number of users actually use enough data to warrant ... [Read more...]

Date and Time in R

June 15, 2010 | C

The following are a few date and time functions that I needed to figure out early on when working with R.We will start when we are... the current system date.Sys.Date()Notice that this function returns a Date object.class(Date)A string in this format i...
[Read more...]

Welcome guest blogger, Joseph Rickert

June 15, 2010 | David Smith

I'm about to head out for a two-week holiday, so I'll be off the grid for a little while. But I have queued up some (hopefully!) interesting stories to auto-post while I'm away, so there'll still be plenty to read every weekday as usual here on the blog. Also joining ... [Read more...]
1 2 3 4 5 6 9

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)