Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

How to use a column for a shaded area in ggplot,R?

$
0
0

I have a dataframe of 2 columns, my values and the standard error. What I want is to plot a line with my values and then add the standard error as a shaded area around my line. I do not even know how to start as most of the examples use the geom_ribbon and not an existing column.

I am really confused, is it even possible to plot a shaded area based on an existing column? (any suggestions of tutorials or demos are welcomed!)


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>