Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
ggplot2 is an enhanced plotting library for R based upon the principles of "The Grammar of Graphics". Use this tag for *on topic* questions that (a) involve `ggplot2` as a critical part of the question &/or expected answer, & (b) are not just about how to use `ggplot2`.
1
vote
1
answer
10k
views
Plotting a boxplot against multiple factors in R with ggplot2
(That is, what's the ggplot2 equivalent of the boxplot command above?) … As a second part to the question, how would I generate a separate chart using ggplot2 that displays the boxplot overlaid with a plot of the raw data points within each condition? …
0
votes
1
answer
2k
views
Can I Use a Dummy Variable in Quadratic form in lm() in R?
As an extension of this question, with ggplot2, I can chart the individual name model results using:
g = ggplot(egastdata, aes(x=age,y=pos,col=name))
g = g + stat_smooth(method = "lm", formula = y ~ I …
12
votes
3
answers
27k
views
How to compare two datasets with Q-Q plot using ggplot2?
plotting packages, but I can't see how to do a qqplot in ggplot2 to compare two datasets. … So my question, what is the ggplot2 equivalent of something like:
qqplot(datset1,dataset2) …