python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Adjust color of geom_vline in ggplot based on group
So I am creating density plot for Sepal.Length for two species of the iris-dataset. The graph looks like this:
As you can see, I added two measures of central tendency to the graph (Median and Mean)....
Maximilian
Votes: 0
Answers: 1
How to save a figure in R within the code
I am plotting 2 probability density functions of observed and modeled fields.
I have this code below:
# Import libraries
library("stringr")
library(ggplot2)
#EXTENDED Observations with rean...
meteo_96
Votes: 0
Answers: 0
How can I get the real scale from a facet_grid plot in R?
I am trying to add captions as it appears in this post.
For that reason, I need the real scale of the plot (x and y axis) when I am using facet_grid. I know that I can use layer_data, since it saves e...

emr2
Votes: 0
Answers: 2
outline scatterplot/barplot with line graph with categorical data and groups in ggplot
I have a dataset with ~ 150 countries, a grouping variable, and a value for each country and group (0-6). I am trying to show, that countries with a higher GDP get higher values in one group than the ...
H.Stevens
Votes: 0
Answers: 1