Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

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

Shulou Source: shulou.com Published: 2022-06-01 22:03:28 10月01日 Update

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

Tags: Data content Harden Curry Jaime James hit rate violin master language processing intuitive picture above code multiple actually that is regular regular season more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi MySQL Shulou Tech Info Microsoft