Monthly Archives: July 2013

A Note About proj4 in R

July 24, 2013
By

It's been a long time since I had to transform some coordinates 'manually'. I mean I had a list of coordinates that I needed to project. There are some nice proprietary tools for it, but who needs them when the opensource is everywhere?Proj4 is an ...

Read more »

What is R? A new video on the history, community and applications of R

July 24, 2013
By

We meet a lot of R users on our travels, and something we often hear from them is that while they're doing amazing things with R (incredible data visualizations, statistical analysis, and data science applications), their supervisors or peers may not know that the R language is involved, or that others could benefit from using it. It would be...

Read more »

Selecting subset of variables in data frame

July 24, 2013
By

I frequently work with datasets with many variables. In this case I often need to apply some function to subset of variables in data frame. To simplify this task I wrote short function that allows me to specify what variables to include and what variables should be excluded.  I do choose subset of variables based on the following condition types:variable/column...

Read more »

Making infographics using R and Inkscape

July 24, 2013
By
Making infographics using R and Inkscape

I have been making charts with R for almost as long as I have been using R, and with good reason: R is an amazing tool for filtering and visualizing data. With R, and particularly if we use the excellent ggplot2 library, we can go from raw data to compelling visualization in minutes.But what if we want...

Read more »

Archival, Analysis, and Visualization of #ISMBECCB 2013 Tweets

July 24, 2013
By
Archival, Analysis, and Visualization of #ISMBECCB 2013 Tweets

As the 2013 ISMB/ECCB meeting is winding down, I archived and analyzed the 2000+ tweets from the meeting using a set of bash and R scripts I previously blogged about.The archive of all the tweets tagged #ISMBECCB from July 19-24, 2013 is and ...

Read more »

Making infographics using R and Inkscape

July 24, 2013
By
Making infographics using R and Inkscape

I have been making charts with R for almost as long as I have been using R, and with good reason: R is an amazing tool for filtering and visualizing data. With R, and particularly if we use the excellent ggplot2 library, we can go from raw data to comp...

Read more »

Electricity Usage in a High-rise Condo Complex pt 4

July 24, 2013
By
Electricity Usage in a High-rise Condo Complex pt 4

This is the fourth article in the series, where the techiness builds to a crescendo. If this is too statistical/programming geeky for you, the next posting will return to a more investigative and analytical flavor. Last time, we looked at … Continue reading →

Read more »

Sure, this is silly, but this makes me feel a little bit cooler

July 24, 2013
By

Look at this nice video on R statistics. It really advertises doing statistics in a way that is open to anyone!

Read more »

Power Analysis by Simulation: R, RCT, Malaria Example

July 24, 2013
By
Power Analysis by Simulation: R, RCT, Malaria Example

I have received a number of requests for demonstration code on how to perform a power analysis using simulation in R.  I have already demonstrated howto do this in Stata but lacked the easy to use Stata command “simulate” that I preferred.  However, in a recent post I have written up a command very similar to simulate in...

Read more »

Postscript to Data Visualization

July 23, 2013
By
Postscript to Data Visualization

Much to my chagrin, I realized I forgot to include one of the more interesting features in the lattice package. You can quickly turn a quantitative variable into one of levels of equal counts.  This provides a nice way of looking at slices of your...

Read more »