What is the shape category in the R language visual ggplot chart system?
This article mainly introduces "what is the shape category in R language visualization ggplot chart system". In daily operation, I believe many people have doubts about the shape category in R language visualization ggplot chart system. Xiaobian consulted all kinds of data and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the question of "what is the shape category in R language visualization ggplot chart system". Next, please follow the editor to study!
Today I would like to share with you the shapes in the ggplot chart system.
In the ggplot function system, shape is an important mapping attribute, like color, it can be assigned to variables, of course, it can also directly specify the actual shape category.
Library (ggplot2)
Library (reshape2)
Data