Basketball Data Science – ERRATA CORRIGE


Errata: “… redefining match results based purely on the performance on the basketball court.”

Corrige: “… redefining match results based purely on the performance on the soccer field.”

Errata: “ORtg = PTST/POSST” and “DRtg = PTSO/POSSO”.

Corrige: “ORtg = PTST/POSST × 100” and “DRtg = PTSO/POSSO × 100”.

Thanks to Gianpaolo Mura who reported the mistake.

Errata: “selTeams <- which(Tadd$team”.

Corrige: “selTeams <- which(Tadd$team %in% tm)”.

Thanks to Mattia Stival who reported the mistake.

Errata: values on the axes in the order of magnitude of 10.

Corrige: values on the axes in the order of magnitude of 2.

Thanks to Gianpaolo Mura who reported the mistake.

Errata: “sum(x ”.

Corrige: “sum(x %in% lineup)==5”.

Thanks to Mattia Stival who reported the mistake.

Errata: “…highlighting, for each zone, the average time elapsed…”

Corrige: “…highlighting, for each zone, the median time elapsed…”

Errata: “arrange(-eta2)

Corrige: “arrange(-eta2) %>%

Thanks to Christopher Riccio who reported the mistake.

Errata: “0.697” (two times)

Corrige: “0.687” (two times)

Slight changes due to improvements made to the function expectedpts: the final part of the smoothed line corresponding to Klay Thompson has a slightly different pattern.

Slight changes due to improvements made to the function expectedpts: different ticks on the x-axis.

Errata: “... col.hline="gray", var="totalTime", xlab="Total time")

Corrige: “... col.hline="gray", var="totalTime", xlab="Total time", x.range=NULL)