Try to search your question here, if you can't find : Ask Any Question Now ?

Line plot with average and shadow for min/max

HomeCategory: stackoverflowLine plot with average and shadow for min/max
Avatarcraig asked 1 week ago

I’ve made a quick example data frame for this below. Basically I want to create a line plot with the average value as a line and a shadow around that line representative of the range of the values. I realise I’ll likely have to find row min/max but am unsure how to do this for rows and also don’t know how I would go about plotting this

TEST <- data.frame(a=c(1,5,7,2), b=c(3,8,2,5), c=c(6,10,2,1))
TEST$mean <- rowMeans(TEST)

Any help appreciated – Thanks

1 Answers
Best Answer
AvatarJyoti answered 1 week ago
Your Answer

4 + 17 =

Popular Tags

WP Facebook Auto Publish Powered By :