Posts Tagged ‘ ggplot2 ’

How to remember point shape codes in R

April 24, 2012
By
How to remember point shape codes in R

I suspect I am not unique in not being able to remember how to control the point shapes in R. Part of this is a documentation problem: no package ever seems to write the shapes down. All packages just use the “usual set” that derives from S-Plus and was carried through base-graphics, to grid, lattice Related posts:

Read more »

Probit/Logit Marginal Effects in R

April 23, 2012
By
Probit/Logit Marginal Effects in R

The common approach to estimating a binary dependent variable regression model is to use either the logit or probit model. Both are forms of generalized linear models (GLMs), which can be seen as modified linear regressions that allow the dependent variable to originate from non-normal distributions. The coefficients in a linear regression model are marginal

Read more »

How to plot lattice and ggplot2 graphs with FastRWeb

April 10, 2012
By
How to plot lattice and ggplot2 graphs with FastRWeb

With print() If you are an advanced R user, you probably know the lattice and the ggplot2 packages. They allow you to plot elegant graphics with less code (Hocking, 2009 and Sueur, 2010). If you know these two packages, you should hardly use plot() for your graphs. If you read my article on FastRWeb, you

Read more »

Review: Kölner R Meeting 30 March 2012

April 4, 2012
By
Review: Kölner R Meeting 30 March 2012

The first Kölner R user meeting was great fun. About 20 useRs had turned up to exchange their ideas, questions and experience with R. Three talks about R & Excel, ggplot2 & XeLaTeX and Dynamical systems with R & simecol had kicked off the evening, wit...

Read more »

Simple data mining and plotting data on a map with ggplot2

April 2, 2012
By
Simple data mining and plotting data on a map with ggplot2

In this post I use OpenStreetsMaps and ggplot2 to plot geographically were psychologists live, using data from a facebook document.

Read more »

Ggplot2, PubMed citation frequency and DSM-IV Axis I disorders by year

March 31, 2012
By
Ggplot2, PubMed citation frequency and DSM-IV Axis I disorders by year

I searched PubMed for several major DSM-IV disorders and downloaded the hits. Using ggplot2 I plotted the number of publications each year for each disorder.

Read more »

Psychotherapies PubMed battle

March 29, 2012
By
Psychotherapies PubMed battle

Ever wondered how different psychotherapy orientations match up in a PubMed battle? Continue reading to find out and to see how to test this using R and Ggplot2.

Read more »

Using Ggplot2 to plot last.fm top 100 albums

March 22, 2012
By
Using Ggplot2 to plot last.fm top 100 albums

I found out that last.fm had made data files available for their Best of 2011 artist list, and I thought it'd be a great opportunity to learn some more about data management in R and Ggplot2.

Read more »

Monty Hall Simulations

March 20, 2012
By

Using R I'm doing a lot of simulations of the classic monty hall-problem and plotting multiple simulations using ggplot2.

Read more »

I see high frequency data

March 1, 2012
By
I see high frequency data

In the previous post I shared an example how to get high frequency data from IB broker (well, it is retail version of HFD – it has only best bid/ask and the trades). Now, once you saved some data – what should you do next? Next logical step would be data sanity check and visualization.

Read more »