├── LICENSE ├── README.md ├── Rpackage └── packages.R └── imgs ├── angles.png ├── attack_k1.png ├── dicitslogo.png └── set_k1.png /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Manuel Parra 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VolleyBall Performance Analysis and Visualization using R 2 | 3 | Created by 4 | 5 | - Parra Royón, Manuel J. Department of Computer Science and Artificial Intelligence, University of Granada, Spain. 6 | - Mercado-Palomino, Elia. Department of Physical Education and Sport, University of Granada, Spain. 7 | - Morante Rábago, Juan Carlos. Faculty of Sport, University of León, Spain 8 | - Benítez, José M. Department of Computer Science and Artificial Intelligence, University of Granada, Spain. 9 | - Ureña Espa, Aurelio. Department of Physical Education and Sport, University of Granada, Spain. 10 | 11 | This work was supported by the Spanish Science and Innovation Ministry under Grants DEP2011-27503 and TIN2013-47210- P. 12 | 13 | This study was approved by the Ethics Committee for Human Research at the University of Granada. 14 | 15 | At: 16 | 17 | ![dicits_logo](imgs/dicitslogo.png) 18 | 19 | 20 | The aim of the present study was to measure the middle hitter’s availability from the frequency distribution of the setter’s different positions, when the team maintained that availability. 21 | 22 | **Key Words**: *centroid, match analysis, first tempo, middle hitter, performance indicator*. 23 | 24 | 25 | ## Installing the R package 26 | 27 | ``` 28 | # if you have not installed "devtools" package, install it. 29 | install.packages("devtools") 30 | 31 | library(devtools) 32 | 33 | install_github("manuparra/volleyball-performance-analysis", subdir="Rpackage") 34 | 35 | ``` 36 | 37 | ## Using Methods 38 | 39 | 40 | ### Setter Performance visualization 41 | 42 | ![perf](imgs/set_k1.png) 43 | 44 | 45 | ### Attack Performance visualization 46 | 47 | ![perf1](imgs/attack_k1.png) 48 | 49 | 50 | ### Teams centroid, angles and distances 51 | 52 | 53 | ![angles](imgs/angles.png) 54 | 55 | 56 | -------------------------------------------------------------------------------- /Rpackage/packages.R: -------------------------------------------------------------------------------- 1 | # Resources 2 | library(RMySQL) 3 | library(knitr) 4 | library(psych) 5 | library(plot3D) 6 | library(hexbin) 7 | library(ggplot2) 8 | library(grid) 9 | library(gridExtra) 10 | library(RColorBrewer) 11 | library("calibrate") 12 | library(corrplot) 13 | library(aod) 14 | 15 | -------------------------------------------------------------------------------- /imgs/angles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuparra/volleyball-performance-analysis/6238bc4489af2f682b85a28a63330c326570eaf3/imgs/angles.png -------------------------------------------------------------------------------- /imgs/attack_k1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuparra/volleyball-performance-analysis/6238bc4489af2f682b85a28a63330c326570eaf3/imgs/attack_k1.png -------------------------------------------------------------------------------- /imgs/dicitslogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuparra/volleyball-performance-analysis/6238bc4489af2f682b85a28a63330c326570eaf3/imgs/dicitslogo.png -------------------------------------------------------------------------------- /imgs/set_k1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuparra/volleyball-performance-analysis/6238bc4489af2f682b85a28a63330c326570eaf3/imgs/set_k1.png --------------------------------------------------------------------------------