## R, D3.js and SNA Course

I took the SNA course by Lada Adamic in coursera. It's a super interesting course. In fact, I was using the networks only how a visualization tool, and that is what it make me little bit embarrassing because there are more, a lot of more. You can detec...

## d3 Lifeline from vega and clickme

April 4, 2013
By

This has been an exciting week for d3.js and R with the release of vega by the data vis powerhouses at Trifacta launch of clickme and already significant rewrite to accommodate vega inception of a very promising d3 templates DexCharts described in multiple posts. I am glad to have had...

## Announcing eeptools 0.2

April 4, 2013
By

My R package eeptools has reached version 0.2. As with the last release, this is still a preliminary release which means that functionality is not full, function names and code behavior may still change from version to version, and I am still looking f...

## Subtraction Is Crazy

April 4, 2013
By
$\large \dpi{200} \bg_white f ^\prime \equiv \lim_{\mathrm{lag} \downarrow 0} {\mathrm{lag} (f)-f \over |\mathrm{lag}| }$

I was re-reading Michael Murray’s explanation of cointegration: and marvelling at the calculus. Calculus blows my mind sometimes. Like, hey guess how much we can do with subtraction. — protëa(@isomorphisms) March 28, 2013 Of course it’s not any subtraction. It’s subtracting a function from a shifted version of itself. Still doesn’t sound like a universal revolution. (But of course the...

## R, D3js and SNA Course

April 4, 2013
By

Update 2015-11-09: This is migration from an old post. I took the SNA course by Lada Adamic in coursera. It’s a super interesting course. In fact, I was using the networks only how a visualization tool, and that is what it make me little bit embarrassing because there are more, a lot of more. You can detect communities,...

## Tutorial- Building Biological Networks

April 4, 2013
By

I love networks! Nothing is better for visualizing complex multivariate relationships be it social, virtual or biological. I recently gave a hands-on network building tutorial using R and Cytoscape to build large biological networks. In these networks Nodes represent metabolites and edges can be many things, but I specifically focused on biochemical relationships and chemical

## Demographic analysis using the `popbio` library and some other fun stuff

April 4, 2013
By

This week at the Davis R Users’ Group we had a great presentation by Kara Moore O’Leary on using the popbio package to examine rare plant demographics. The following is her script run through knitr. You can download the original script and associated data here. Find out more about Kara and her work at...

## R 3.0 released; ggplot2 stat_summary bug fixed!

April 4, 2013
By

The new version of R was released yesterday. As I understand it, the numbering change to 3.0 represents the recognition that R had evolved enough to justify a new number rather than the addition of many new features. There are some important new featur...

## An Introduction to SAS for R Programmers

April 4, 2013
By

by Joseph Rickert Life decisions are usually much too complicated to be attributed to any single cause, but one important reason that I am here at Revolution today is that I ignored suggestions from well-meaning faculty back in graduate school to work more in SAS rather than doing everything in R. There was a heavy emphasis on SAS then:...

## List of Bioinformatics Workshops and Training Resources

April 4, 2013
By

I frequently get asked to recommend workshops or online learning resources for bioinformatics, genomics, statistics, and programming. I compiled a list of both online learning resources and in-person workshops (preferentially highlighting those where workshop materials are freely available online):List of Bioinformatics Workshops and Training ResourcesI hope to keep the page above as up-to-date as possible....

## Test from knitr to wordpress

April 4, 2013
By

Title This is an R Markdown document. Markdown is a simple formatting syntax for authoring web pages (click the MD toolbar button for help on Markdown). When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within

## Measuring the Intensity of Historical Crises with VaR (Part 2)

April 4, 2013
By

Adam Duncan, December 2012Also avilable on R-bloggers.com If you missed the first part of this analysis, be sure to check it out on gtog.github.com.In this part of the analyis, I’m going to look at the actual 1 day negative returns / VaR estimates (“VaR breaks”) across a numnber of different asset classes. The hope is to arrive at...

## Construct an unique index from two integer (Pairing Function)

April 3, 2013
By

Recently, I need to construct an unique index from two integer. The best solution I found is the Pairing function. Pairing function is an one to one and onto function that map two integers to a single integer. The definition as follows: If ordering of x and y is not important, we can swap x

## Interactive visualization of survival curves with Shiny

April 3, 2013
By

We have a growing interest in using our favorite tools (R and Mathematica) to build web interfaces to interactively explore and visualize data. Our last 5 posts have involved interactive tools, namely Mathematica’s computable document format and R’s new Shiny package. There is a new kid on the block for interactive visualization tools in R,

## A brief note: R 3.0.0 and bioinformatics

April 3, 2013
By

Today marks the release of R 3.0.0. There will be plenty of commentary and useful information at sites such as R-bloggers (for example, Tal’s post). Version 3.0.0 is great news for bioinformaticians, due to the introduction of long vectors. What does that mean? Well, several months ago, I was using the simpleaffy package from Bioconductor

## R version 3 released

April 3, 2013
By

The R language marks a major milestone today with the release of R 3.0.0 (codename: "Masked Marvel"). The increment in the version number reflects not a fundamental change in the R langauge itself, but a recognition that the R codebase has matured to a point where closing out the 2.x series makes sense. Nonetheless, this release does include some...

## Tables Are Like Cockroaches

April 3, 2013
By

As much as I would like to completely replace all tables with beautiful, intuitive, and interactive charts, tables like cockroaches cannot be eliminated. Based on this very interesting discussion on the Perceptual Edge forum with source Exploring the Origins of Tables for Information Visualization, tables date back to 1850 BCE. The paper concludes with As part of...

## Quickly Profiling Compiled Code within R on the Mac

April 3, 2013
By

This is a quick note on profiling your compiled code on the mac. It is important not to guess when figuring out where the bottlenecks in your code are, and for this reason, the R manual has several suggestions on how to profile compiled code running within R. All of the methods are platform dependent, with linux requiring command line tools

## R 3.0.0 is released! (what’s new, and how to upgrade)

April 3, 2013
By

A few hours ago Peter Dalgaard (of R Core Team) announced the release of R 3.0.0!  Bellow you can read the changes in this release. One of the features worth noticing is the introduction of long vectors to R 3.0.0. As David Smith …Read more »

## Managing memory in a list of lists data structure

April 3, 2013
By

First, a confession: instead of using classes and defining methods for them, I build a lot of ad hoc data structures out of lists and then build up one-off methods that operate on those lists of lists. I think this is a perl-ism that has transferred into my R code. I might eventually learn how

## Managing memory in a list of lists data structure

April 3, 2013
By

First, a confession: instead of using classes and defining methods for them, I build a lot of ad hoc data structures out of lists and then build up one-off methods that operate on those lists of lists. I think this … Continue reading →

## ISBA on INLA [webinar]

April 3, 2013
By

If you have missed the item of information, Håvard Rue is giving an ISBA webinar tomorrow on INLA: the ISBA Webinar on INLA is scheduled for April 4th, 2013 from 8:30 - 12:30 EDT. ------------------------------------------------------- To join the online meeting (Now from mobile devices using the Cisco WebEx Meeting App) ------------------------------------------------------- 1. Go to https://www.webex.com/login/attend-a-meeting

## Automated Re-Install of Packages for R 3.0

April 3, 2013
By

With the big release of R 3.0 today comes an unfortunate side effect of needing to re-install all of your packages. Luckily, R provides a pretty easy method of getting all of your packages into a list for automated re-install.  Here’s how to do it for OSX users with a default install to the Library: Automated Re-Install of...

## Hurray! An R Connections API!

April 3, 2013
By

I waited until April 3 to post this, so it wouldn't be taken as an April Fool's joke! A recent R News item announces that we now have a bona fide mechanism to create custom connections in R! This makes it possible to implement a custom connection in an R package. Until now, the only

## R 3.0.0 is released!

April 3, 2013
By

The new R 3.0.0 is out! You know the drill! Get the source code from here.

## Colour it up: my quest to master ggplot2 (part 2)

April 3, 2013
By

Your browser does not support iframes.

## Splitting a Large CSV File into Separate Smaller Files Based on Values Within a Specific Column

April 3, 2013
By

One of the problems with working with data files containing tens of thousands (or more) rows is that they can become unwieldy, if not impossible, to use with “everyday” desktop tools. When I was Revisiting MPs’ Expenses, the expenses data I downloaded from IPSA (the Independent Parliamentary Standards Authority) came in one large CSV file

## CFP: the 11th Australasian Data Mining Conference (AusDM 2013), submission due 15 July

April 3, 2013
By

********************************************************************* The 11th Australasian Data Mining Conference (AusDM 2013) Canberra, Australia, 13-15 November 2013, http://ausdm13.togaware.com Join us on LinkedIn: http://www.linkedin.com/groups/AusDM-4907891 ********************************************************************* Data mining, the art and science of intelligent analysis of (usually large) data sets for meaningful (and previously unknown) … Continue reading →

## Beware of grep with a list

April 2, 2013
By

Another R tip: beware of as.character applied to a list. Really, beware of grep with a list: You might have thought that the result would be just 1, but grep expects a vector of character strings. If the input is not that, it uses as.character(). Since the result of that starts with "c(", grep finds