{"id":421,"date":"2019-02-21T17:14:42","date_gmt":"2019-02-21T17:14:42","guid":{"rendered":"http:\/\/bodai.unibs.it\/bdsports\/?page_id=421"},"modified":"2023-06-15T19:41:18","modified_gmt":"2023-06-15T17:41:18","slug":"basketballanalyzer","status":"publish","type":"page","link":"https:\/\/bodai.unibs.it\/bdsports\/basketballanalyzer\/","title":{"rendered":"BasketballAnalyzeR"},"content":{"rendered":"<h1>BasketballAnalyzeR<\/h1>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 29.0805%\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1651 aligncenter\" src=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2020\/12\/hexSticker3-259x300.png\" alt=\"\" width=\"194\" height=\"225\" srcset=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2020\/12\/hexSticker3-259x300.png 259w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2020\/12\/hexSticker3.png 518w\" sizes=\"auto, (max-width: 194px) 100vw, 194px\" \/><\/td>\n<td style=\"width: 70.9195%\"><code>BasketballAnalyzeR<\/code> is an <a href=\"https:\/\/CRAN.R-project.org\/package=BasketballAnalyzeR\">R package<\/a> that accompanies the book:<\/p>\n<p>P. Zuccolotto and M. Manisera (2020)<em> <a href=\"https:\/\/www.routledge.com\/Basketball-Data-Science-With-Applications-in-R-1st-Edition\/Zuccolotto-Manisera\/p\/book\/9781138600799\">Basketball Data Science &#8211; With Applications in R<\/a>, <\/em>Chapman and Hall\/CRC. ISBN 9781138600799.<\/p>\n<p>It has been developed by Marco Sandri, Paola Zuccolotto, Marica Manisera (Big&amp;Open Data Innovation Laboratory <a href=\"http:\/\/bodai.unibs.it\">BODaI-Lab<\/a>, University of Brescia) and provides functions for analysis and visualization of Basketball Data.<\/p>\n<p>This web page gives details and information about the package.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 59.434%\">Overview of the book (<a href=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2019\/04\/Chapter-Abstracts.pdf\">Chapter Abstracts<\/a>)<\/p>\n<p><strong>Everything you need to know about this book:<\/strong> codes for reproducing the case studies presented throughout the book with <code>BasketballAnalyzeR<\/code>, additional datasets for exercises, testimonials, related work, FAQ, errata corrige.<\/p>\n<p><a class=\"button w-button w--current\" href=\"https:\/\/bodai.unibs.it\/bdsports\/bds1\/\">Basketball Data Science &#8211; with applications in R<\/a><\/p>\n<p>Codes for reproducing the case studies presented throughout the book with <code>BasketballAnalyzeR<\/code> &#8211; R code checked under R-3.5.3 for Windows (64 bit) and for Mac OS X 10.11<\/p>\n<p><a class=\"button w-button w--current\" href=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2020\/04\/Basketball-Data-Science-code-April-2020.pdf\">pdf format<\/a><\/p>\n<p><a class=\"button w-button w--current\" href=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/02\/Basketball-Data-Science-code-April-2020.zip\">R format<\/a><\/p>\n<p>&nbsp;<\/td>\n<td style=\"width: 40.566%\"><a href=\"https:\/\/www.routledge.com\/Basketball-Data-Science-With-Applications-in-R-1st-Edition\/Zuccolotto-Manisera\/p\/book\/9781138600799\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1798 alignright\" src=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-199x300.jpg\" alt=\"\" width=\"322\" height=\"486\" srcset=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-199x300.jpg 199w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-679x1024.jpg 679w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-768x1159.jpg 768w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-1018x1536.jpg 1018w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-1357x2048.jpg 1357w, https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/03\/Basketball-Data-Science-scaled.jpg 1697w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>Authors have invested a lot of time and effort in creating this package. Please give credit and cite <code>BasketballAnalyzeR<\/code> when you use it for data analysis.<\/p>\n<h5>Suggested citations:<\/h5>\n<ul>\n<li>Paola Zuccolotto and Marica Manisera (2020), Basketball Data Science &#8211; with Applications in R. Chapman and Hall\/CRC. ISBN 9781138600799.<\/li>\n<li>Marco Sandri, Paola Zuccolotto, and Marica Manisera (2020).<br \/>\n<code>BasketballAnalyzeR<\/code>: analysis and visualization of basketball data.<br \/>\nhttps:\/\/CRAN.R-project.org\/package=BasketballAnalyzeR<\/li>\n<li>Marco Sandri (2020), The R package <code>BasketballAnalyzeR<\/code>, in: Zuccolotto P. and Manisera M., <em>Basketball Data Science &#8211; with Applications in R. Chapman and Hall\/CRC<\/em>, Chapter 6.<\/li>\n<li>Marica Manisera, Marco Sandri and Paola Zuccolotto (2019), <code>BasketballAnalyzeR<\/code>: the R package for basketball analytics. <a href=\"https:\/\/it.pearson.com\/content\/dam\/region-core\/italy\/pearson-italy\/pdf\/Docenti\/Universit%C3%A0\/ISTITUZIONI%20-%20HE%20-%20PDF%20-%20SIS%202019%20-%20V2.pdf\">Proceedings of the Conference<\/a> <em>Smart Statistics for Smart Applications<\/em> (SIS 2019), Universit\u00e0 Cattolica del Sacro Cuore, Milan, 19st-21st June 2019, 395 &#8211; 402.<\/li>\n<\/ul>\n<p>Download <a href=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/02\/basketDS.txt\">BibTeX citations<\/a> for the R package <code>BasketballAnalyzeR<\/code><\/p>\n<hr \/>\n<h4>How to install BasketballAnalyzeR<\/h4>\n<p><code>BasketballAnalyzeR<\/code> is on <a href=\"https:\/\/CRAN.R-project.org\/package=BasketballAnalyzeR\">CRAN<\/a> and <a href=\"https:\/\/github.com\/sndmrc\/BasketballAnalyzeR\">github<\/a>.<\/p>\n<h5><b>Step 1 &#8211; Installing R <\/b><\/h5>\n<ul>\n<li><a href=\"http:\/\/cran.mirror.garr.it\/mirrors\/CRAN\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download the latest version of R from CRAN <\/a><\/li>\n<li>Install R following the instructions of the installer (you can safely use the default settings and just keep clicking Next until R starts installing)<\/li>\n<li>If you have experienced problems with the installation, read for example <a href=\"http:\/\/derekogle.com\/IFAR\/supplements\/installations\/InstallRWin.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or <a href=\"https:\/\/www.datacamp.com\/community\/tutorials\/installing-R-windows-mac-ubuntu\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/li>\n<\/ul>\n<h5><b>Step 2 &#8211; Installing BasketballAnalyzeR <\/b><\/h5>\n<p>There are three alternative procedures, that can be optionally chosen by the user.<\/p>\n<h6 style=\"padding-left: 30px\">PROCEDURE 1 &#8211; STANDARD INSTALLATION FROM CRAN<\/h6>\n<ul>\n<li>Open R<\/li>\n<li>Write <code>install.packages(\"BasketballAnalyzeR\")<\/code> and then press <i>Enter<\/i><\/li>\n<li>Wait until the package is installed<\/li>\n<li>To load the <code>BasketballAnalyzeR<\/code> package, write <code>library(BasketballAnalyzeR)<\/code> and then press <i>Enter<\/i><\/li>\n<li>To test the package, write <code>example(shotchart)<\/code> and then press <i>Enter<\/i><\/li>\n<\/ul>\n<h6 style=\"padding-left: 30px\">PROCEDURE 2 &#8211; INSTALLATION FROM LOCAL ZIP FILE<\/h6>\n<ul>\n<li><a href=\"https:\/\/bodai.unibs.it\/bdsports\/wp-content\/uploads\/sites\/2\/2021\/02\/BasketballAnalyzeR_0.5.0.tar_.gz\">Download the package&#8217;s zip file<\/a><\/li>\n<li>Install it from local zip file (from the R menu: Packages -&gt; Install package(s) from local files -&gt; BasketballAnalyzeR_0.5.0.tar.gz)<\/li>\n<li>Wait until the package is installed (it can take several minutes)<\/li>\n<li>To load the <code>BasketballAnalyzeR<\/code> package, write <code>library(BasketballAnalyzeR)<\/code> and then press <i>Enter<\/i><\/li>\n<li>To test the package, write <code>example(shotchart)<\/code> and then press <i>Enter<\/i><\/li>\n<\/ul>\n<h6 style=\"padding-left: 30px\">PROCEDURE 3 &#8211; INSTALLATION OF THE DEVELOPMENT VERSION<\/h6>\n<p>With this procedure the user can install the latest version of the package, with the most recent updates in development version, not yet implemented in the CRAN version of the package.<\/p>\n<ul>\n<li>Open R<\/li>\n<li>Write <code>install.packages(\"devtools\")<\/code> and then press <i>Enter<\/i><\/li>\n<li>To download and install the BasketballAnalyzeR package, write <code>devtools::install_github(\"sndmrc\/BasketballAnalyzeR\")<\/code> and then press <i>Enter<\/i><\/li>\n<li>Wait until the package is installed (it can take several minutes)<\/li>\n<li>To load the <code>BasketballAnalyzeR<\/code> package, write <code>library(BasketballAnalyzeR)<\/code> and then press <i>Enter<\/i><\/li>\n<li>To test the package, write <code>example(shotchart)<\/code> and then press <i>Enter<\/i><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>With <code>BasketballAnalyzeR<\/code> the following packages are automatically installed: <code>ggplot2, hexbin, plyr, dplyr, tidyr, rlang, magrittr, ggrepel, gridExtra, scales, MASS, directlabels, corrplot, ggplotify, network, sna, dendextend, circlize, PBSmapping, sp, operators, stringr, GGally, statnet, common, ggnetwork, readr<\/code>.<\/p>\n<hr \/>\n<p>Send your questions to <a href=\"mailto:basketballanalyzer.help@unibs.it\"> basketballanalyzer.help@unibs.it<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BasketballAnalyzeR BasketballAnalyzeR is an R package that accompanies the book: P. Zuccolotto and M. Manisera (2020) Basketball Data Science &#8211; With Applications in R, Chapman and Hall\/CRC. ISBN 9781138600799. It has been developed by Marco Sandri, Paola Zuccolotto, Marica Manisera (Big&amp;Open Data Innovation Laboratory BODaI-Lab, University of Brescia) and provides functions for analysis and visualization [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-421","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/pages\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":36,"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/pages\/421\/revisions"}],"predecessor-version":[{"id":2117,"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/pages\/421\/revisions\/2117"}],"wp:attachment":[{"href":"https:\/\/bodai.unibs.it\/bdsports\/wp-json\/wp\/v2\/media?parent=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}