R ggplot2 reduce space between categories in line plot
<p>I have the following data:</p>

<pre><code>Name    Value   Type
One     500     Confirmed
One     1000    Total
Two     550     Confirmed
Two     900     Total
Three   550     Confirmed
Three   800     Total
</code></pre>

<p>And the following R script:</p>

<pre><code>#!/usr/bin/env Rscript

library(ggplot2)

data = structure(list(Name = c("One", "One", "Two", "Two", "Three", 
"Three"), Value = c(500L, 1000L, 550L, 900L, 550L, 800L), Type = c("Confirmed", 
"Total", "Confirmed", "Total", "Confirmed", "Total")), .Names = c("Name", 
"Value", "Type"), class = "data.frame", row.names = c(NA, -6L
))

ggplot(data=data, aes(x=Value, y=Name, group=Name, colour=Type)) + geom_line(color="black") + geom_point()
</code></pre>

<p>Which produces the following plot:</p>

<p><img src="https://i.stack.imgur.com/tUO3A.png" alt="Generated image"></p>

<p>My question is, how can I reduce the vertical space between the three categories (One, Two, Three)? They seem needlessly far apart.</p>