I\'ve been reading the ggplot2 documentation for both functions. I was wondering what were the differences and what would be right situation for using each func
For single variable plots you can use either facet_grid() or facet_wrap().
facet_wrap(~variable) will return a symmetrical matrix of plots for the number of levels of variable.
facet_grid(.~variable) will return facets equal to the levels of variable distributed horizontally.
facet_grid(variable~.) will return facets equal to the levels of variable distributed vertically.