ggplot2 filter
0
0
Entering edit mode
2.5 years ago
3095916029 • 0

I use R package ggplot2 to draw a line chart, but it's too cluttered. Does ggplot2 has a function to filter? Like HP filter. And my data is a dataframe.

enter image description here

R • 785 views
ADD COMMENT
0
Entering edit mode

You mean a smoother such as a GAM or loess fit? Check geom_smooth(), just google it, many posts on that.

ADD REPLY
0
Entering edit mode

Thank you very much, I will try it.

ADD REPLY

Login before adding your answer.

Traffic: 2276 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6