Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use R language ggplot2 to draw violin pictures to show the hit rate of Curry Harden James?

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to use R language ggplot2 to draw violin pictures to show the hit rate of Master Curie Harden James. Many people may not know much about it. In order to make you understand better, the editor summed up the following contents. I hope you can get something from this article. The main content is to explore the regular season data of 14-15 NBA basketball players Curry, Harden, James and Westbrook. The previous data cleaning process is no longer introduced, the main content is mapping. The data you need to prepare for making a violin picture is two columns, the first column is used to represent the labels used for grouping, and the second column is the data. The actual data is as follows

Image.png

If we change it to our own experiment, we can compare it to four processes, each with multiple duplicate data, and each duplicate data is recorded.

If you need sample data, you can leave a message at the end of the text.

Drawing code

Library (ggplot2)

Library (ggthemes)

G

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report