Who are the closest players?
You are given the data frame containing the positions of 4 players on a soccer field.
This data is preloaded as four_players in your environment and is displayed below.
| Player | x | y |
|---|---|---|
| 1 | 5 | 4 |
| 2 | 15 | 10 |
| 3 | 0 | 20 |
| 4 | -5 | 5 |
Work in the R console to answer the following question:
Which two players are closest to one another?
यह अभ्यास पाठ्यक्रम का हिस्सा है
Cluster Analysis in R
इंटरैक्टिव व्यावहारिक अभ्यास
हमारे इंटरैक्टिव अभ्यासों में से किसी एक के साथ सिद्धांत को व्यवहार में बदलें
अभ्यास शुरू करें