1857 search results for "ggplot2"

Using consistent R and LaTeX fonts in Org (or knitr, or Sweave)

October 15, 2012
By
Using consistent R and LaTeX fonts in Org (or knitr, or Sweave)

I love good typography, even more so as Microsoft Word and PowerPoint have debased our standards. When I see a really fine piece of technical typesetting, it’s almost always done using TeX and friends. Beautiful LaTeX documents are easy to … Continue reading →

Read more »

How do I re-arrange…?: Ordering a plot.

October 15, 2012
By
How do I re-arrange…?: Ordering a plot.

One of the most widely seen FAQ coming across list serves and R help sites is the question: “How do I re-arrange/re-order (plotting geom/aesthetic such as bar/labels) in a (insert plot type here) using(insert graphics system here) in R?” . … Continue reading →

Read more »

Vice Presidential Debates with qdap-beta

October 13, 2012
By
Vice Presidential Debates with qdap-beta

After the presidential debates I used the beta version of qdap to provide some initial surface level analysis (LINK to Presidential Debates with qdap-beta). In the comments of that post, annon (a commenter) provided a link to an analysis/visualization that … Continue reading →

Read more »

Creating SVG Plots from R

October 12, 2012
By

I recently wanted to create a ggplot that I could then 'tweak' furthur. This is my solution, to create an .svg file which can be loaded into a suitable application (I prefer Inkscape) and furthur edited / tweaked. # Build an example Plotlibrary(ggplot2...

Read more »

Using cairographics with ggsave()

October 12, 2012
By
Using cairographics with ggsave()

Whenever possible, I try to save R graphic output in a vector format, typically pdf(). I also like to use the handy ggsave() function to do so, as it streamlines the process, and makes it easy to be consistent across formats. However, at times it is n...

Read more »

Simple marimekko/mosaic plots

October 10, 2012
By
Simple marimekko/mosaic plots

I don’t really care for the name “marimekko” or “mosaic,” but I do like this type of plot as a means of illustrating proportions in nested categorical data, or as an alternative to the parallel time series plots discussed...

Read more »

Review: Kölner R Meeting 5 October 2012

October 10, 2012
By
Review: Kölner R Meeting 5 October 2012

The third Cologne R user meeting took place last Friday, 5 October 2012, at the Institute of Sociology. The evening was sponsored by Revolution Analytics, who provided funding which went towards the Kölner R user group Meetup page. We had a good tur...

Read more »

Exploring phylogenetic tree balance metrics

October 10, 2012
By
Exploring phylogenetic tree balance metrics

I need to simulate balanced and unbalanced phylogenetic trees for some research I am doing. In order to do this, I do rejection sampling: simulate a tree -> measure tree shape -> reject if not balanced or unbalanced enough. But what is enough? We ne...

Read more »

A brief script on Geographical data analysis in R

A brief script on Geographical data analysis in R

I saw this post and I decided to replicated that good example but with data closer to me, particulary data of my country. So, I've got the shape data of the capital of my country (You can download the data from here). The data comes from the 2002 CENSO...

Read more »

In case you missed it: September 2012 Roundup

October 8, 2012
By

In case you missed them, here are some articles from September of particular interest to R users. You can now browse the R-devel sources and changelogs at GitHub. R is used to create a 3-D animation of the Antarctic ice cap. At the DataWeek SF conference, R users from eBay, Intuit, Minted and other companies describe how R is...

Read more »