ggplot geom_line for specific factor levels
<p>Is there a way to add a line for specific factor levels in ggplot?
this simple example could provide a base to explain what I'm trying to say. In this case I'd like to avoid plotting the last level.  </p>

<pre><code>ggplot(BOD, aes(x=factor(Time), y=demand, group=1)) + geom_line() + geom_point()
</code></pre>

<p><a href="https://i.stack.imgur.com/ZIeX0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZIeX0.png" alt="enter image description here"></a></p>