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 ridges to show the distribution of shooting distance of NBA players

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article introduces how to use R language ggplot2 to draw ridges to show the distribution of shooting distance of NBA players, the content is very detailed, interested friends can refer to, I hope it can be helpful to you.

The main content is to explore the shooting data of Curry Harden and James Westbrook, the top four in the NBA 14 gamble 15 regular season MVP rankings. Repeat the first thing today: use ggplot2 in R language to draw ridges to show the distribution of shooting distance of the above four.

The original dataset is downloaded from kaggle

Https://www.kaggle.com/dansbecker/nba-shot-logs

The code https://github.com/nycdatasci/bootcamp007_project/tree/master/Project1-ExploreVis/Xinyuan_Wu to clean the original dataset

We will not pay attention to this part of the code. I have already run the code that gets the data cleaning of the drawing. If you need the sample data in this article, you can leave a message directly.

First read the cleaned data df

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