全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
392 0
2023-08-05
Plot Geoms
You might guess that by substituting geom point() for a different geom function, you’d get a different type of plot. That’s a great guess! In the following
sections, you’ll learn about some of the other important geoms provided in
ggplot2. This isn’t an exhaustive list, but should cover the most commonly
used plot types.
• geom smooth() fits a smoother to the data and displays the smooth and its
standard error.
• geom boxplot() produces a box-and-whisker plot to summarise the distribution of a set of points.
• geom histogram() and geom freqpoly() show the distribution of continuous
variables.
• geom bar() shows the distribution of categorical variables.
• geom path() and geom line() draw lines between the data points. A line plot
is constrained to produce lines that travel from left to right, while paths
can go in any direction. Lines are typically used to explore how things
change over time.
  


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群