## GEO2R: Web App to Analyze Gene Expression in GEO Datasets Using R

November 17, 2011
By

Gene Expression Omnibus is NCBI's repository for publicly available gene expression data with thousands of datasets having over 600,000 samples with array or sequencing data. You can download data from GEO using FTP, or download and load the data direc...

## Using neural network for regression

November 17, 2011
By

Artificial neural networks are commonly thought to be used just for classification because of the relationship to logistic regression: neural networks typically use a logistic activation function and output values from 0 to 1 like logistic regression. However, the worth … Continue reading →

## Bayesian vs. Frequentist Intervals: Which are more natural to scientists?

November 17, 2011
By

I don't know, of course, because the evidence at hand is based on my experience. But, I'll leave the reader to consider whether these observations generalize. Proponents of Bayesian statistical inference argue that Bayesian credible intervals are more intuitive than the frequentist confidence intervals, because the Bayesian inference is a probability statement about a parameter.

## Finding functions in R

November 17, 2011
By

When looking for functions whose exact name is unknown # Functions related to “shrinkage” methods help.search(“shrinkage”) Package sos does a great job in finding functions install.packages(“sos”) library(sos) shrinkageResults <- findFn("shrinkage", maxPages = 1) shrinkageResults # This opens a webpage in your browser with the results The table in the webpage created above have sortable columns.

## Missing values and column types when reading data into R

November 17, 2011
By

Reading data into R when dealing with column types and values that need to be considered as NA Below are code snippets to introduce a few arguments of the read.csv function in R # Create sample data strVals <- do.call("c",lapply(1:1000,function(x)paste(sample(letters,sample(5:20,1)),collapse=""))) miscVals <- sample(c("","999","—-","MISS"),100,replace=T) numVals <- rnorm(1000) # Scenario 1 : Pure numeric and strings dataTemp<-data.frame(numericVals

## Webinar Tomorrow: What’s new in Revolution R Enterprise 5.0

November 16, 2011
By

A reminder that Sue Ranney will be presenting the webinar New Features in Revolution R Enterprise 5.0 (Including RevoScaleR) to support Scalable Data Analysis tomorrow (Thursday) at 11AM Pacific time. To whet your appetite, here's another video demonstation of more of the new big data analysis features, including the rxDataStep function to preprocess a data set using R functions...

## Power-laws: choose your x and y variables carefully

November 16, 2011
By

This is a follow-up of the post Power of running world records As suggested by Andrew, plotting running world records could benefit from a change of variables. More exactly the use of different variables sheds light on a well-known sports result provided in a 2000 Nature paper by Sandra Savaglio and Vincenzo

## Update on Scary Derivatives

November 16, 2011
By

After reading Bloomberg’s article, JPMorgan Chase & Co. and Goldman Sachs Group Inc., among the world’s biggest traders of credit derivatives, disclosed to shareholders that they have sold protection on more than \$5 trillion of debt globally. ...

## an easy way to writing data.frame to Excel

November 16, 2011
By

you can write it aswrite.table(r.data.frame, "excel.file.xls", sep="\t", na="", row.names=F)which I can usually open in Excel just by clicking on it.Credit: http://tolstoy.newcastle.edu.au/R/help/05/04/3388.html

## Using SyntaxHighlighter and R Brush in Blogger

November 16, 2011
By

If you're thinking it is time to give the code examples in your blog a more readable look, you may follow this path and use the SyntaxHighlighterFirst thing: check the SyntaxHighlighter Website for the basics.Read more »

## Performance measurement is about decisions

November 16, 2011
By

The return of a hypothetical fund was 17.9% in 2010.  We want to know if that is good or bad. The benchmark method The assets in the portfolio are constituents of the S&P 500, so we can compare our fund return to the return of the index. Figure 1: 2010 returns of: the fund and … Continue reading...

## fgui: Automatically Creating Widgets for Arguments of a Function – A Quick Example

November 16, 2011
By

Here’s something I came across by accident, an R package called fgui which has the ability to automatically create a widget just by passing it a function with parameters, e.g.: The GUI produced from the code above looks like this: I love how easy that was to do, very cool, and useful too! The package

## Lambert’s W function and the generalised logarithm

November 16, 2011
By
$Lambert’s W function and the generalised logarithm$

Yesterday I ran into an equation that was a sum of an exponential and a linear term: It doesn’t take long to figure out that there is no analytical solution, and so I set out to write some crappy numerical code. After wasting some time with a fixed point iteration that did not really work,

## Weather forecast and good development practices

November 16, 2011
By

Inspired by this tutorial, I thought that it would be nice to have the possibility to have access to weather forecast directly from the R command line, for example for a personalized start-up message such as the one below: Weather summary for Trieste, Friuli-Venezia Giulia: The weather in Trieste is clear. The temperature is currently 14°C (57°F). Humidity: 63%. Fortunately,...

## PhD defense on copulas

November 15, 2011
By

(This article was first published on Freakonometrics - Tag - R-english, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on their blog: Freakonometrics - Tag - R-english. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2,...

## Black-Litterman Model

November 15, 2011
By

The Black-Litterman Model was created by Fisher Black and Robert Litterman in 1992 to resolve shortcomings of traditional Markovitz mean-variance asset allocation model. It addresses following two items: Lack of diversification of portfolios on the mean-variance efficient frontier. Instability of portfolios on the mean-variance efficient frontier: small changes in the input assumptions often lead to

## First attempt at Chess Data Mining

November 15, 2011
By

Once you become addicted to chess game analysis, it becomes very easy to swamp yourselves with questions regarding different aspects of the game. Testing out different hypothesis like preference of mobility versus positional advantage requires a bit of manual chess game mining, which could potentially be analyzed using R. With the help of websites like

## Landscape figures in Sweave

November 15, 2011
By

This post is a quick follow up from my initial article on Sweave to add a note on how to get a plot in landscape orientation to fill the whole page, plus a little example of using BibTex.Just to clarify  my … Continue reading →

## This One’s Personal: Sanford Koufax vs. Randy Johnson…pffft

November 15, 2011
By

I couldn’t let this one go. The conclusion draw here by this author that Randy Johnson was “the best pitcher of all time” was not something I could allow to slip through the cracks. Johnson was awesome. Incredible to watch. … Continue reading →

## Announcing Revolution R Enterprise 5.0

November 15, 2011
By

We're proud to announce the latest update to the enhanced, commercial-grade distribution of R, Revolution R Enterprise 5.0. With each new release, Revolution R Enterprise adds more capabilities to open-source R, to make R users more productive, to improve performance of R programs, to support Big Data analytics, and to provide servers and APIs for enterprise deployment. New features...

## Example 9.14: confidence intervals for logistic regression models

November 15, 2011
By

Recently a student asked about the difference between confint() and confint.default() functions, both available in the MASS library to calculate confidence intervals from logistic regression models. The following example demonstrates that they yield d...

## World record running times vs. distance

November 15, 2011
By

Julyan Arbel plots world record running times vs. distance (on the log-log scale): The line has a slope of 1.1. I think it would be clearer to plot speed vs. distance—then you’d get a slope of -0.1, and the numbers would be more directly interpretable. Indeed, this paper by Sandra Savaglio and Vincenzo Carbone (referred The post World...

## Grrr…

November 15, 2011
By

I’ve been working through Gelman et al.’s otherwise excellent Bayesian Data Analysis and it’s going reasonably well. My statistics is a little bit rusty so it’s taken time to work through all of the exercises and really understand what’s going on. But I...

## Conference in Lyon on climate change and insurance

November 14, 2011
By

I will be in Lyon next Monday to give a talk on "Modeling heat-waves: return period for non-stationary extremes" in a workshop entitled "Changement climatique et gestion des risques". An interesting reference might be some pages from Le Monde (201...

## R Development Master Class with Hadley Wickham

November 14, 2011
By

Hadley Wickham, R guru and author of several popular R packages (ggplot2 and plyr, to name just two), will present his 2-day R Development Master Class in New York City, December 12-13. This two-day course offers expert instruction in R programming and package development, and is ideal for anyone looking to hone their R development skills with expert instruction....

November 14, 2011
By

...There is not much to it:upload a txt file with your script, share it for anyone with the link, then simply run something like the below code. ps: When using the code for your own purpose mind to change "https" to "http" and to i...

## New O’Reilly book on parallel R computation

November 14, 2011
By

New O'Reilly book on parallel R computation: Looks like it covers snow, multicore, parallel (package), and some others. Anyone know anything more about this book?

## Wickham R short course

November 14, 2011
By

Hadley writes: I am going to be teaching an R development master class in New York City on Dec 12-13. The basic idea of the class is to help you write better code, focused on the mantra of “do not repeat yourself”. In day one you will learn powerful new tools of abstraction, allowing The post Wickham...

## Create your own Beamer template

November 14, 2011
By

For the past couple of days, I had been searching for a tutorial that would show how to create a custom Beamer template. I found some great resources and some really great customized templates (I have listed the ones that I referred to below) but none ...