Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to plot the grand median in the given plot?

$
0
0

@harry wrote:

I am currently trying to plot a plot between age and the friend the have for this I have created a bucket of 4 to know how many friend people will have depended upon the year joined to social networking site.

ggplot(aes(x = age, y = friend_count),data = subset(pf, !is.na(year_joined.bucket))) + geom_line(aes(color = year_joined.bucket), stat = 'summary', fun.y = median)

I want to know how to plot the Grand median from each bucket to know which bucket is close to the Grand Median.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles