View source: R/radialprofile.R
| radialprofile | R Documentation | 
Draws radial plots for player profiles
radialprofile(
  data,
  perc = FALSE,
  std = TRUE,
  title = NULL,
  ncol.arrange = NULL,
  min.mid.max = NULL,
  label.size = 2.5
)
data | 
 a data frame.  | 
perc | 
 logical; if   | 
std | 
 logical; if   | 
title | 
 character vector, titles for radial plots.  | 
ncol.arrange | 
 integer, number of columns in the grid of arranged plots.  | 
min.mid.max | 
 numeric vector with 3 elements: lower bound, middle dashed line, upper bound for radial axis.  | 
label.size | 
 numeric; label font size (default 2.5).  | 
A list of ggplot2 radial plots or, if ncol.arrange=NULL, a single ggplot2 plot of arranged radial plots
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketball.analyzer.help@gmail.com)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
plot.kclustering
data("Pbox")
Pbox.PG <- Pbox[1:6,]
X <- data.frame(Pbox.PG$P2M, Pbox.PG$P3M, Pbox.PG$OREB+Pbox.PG$DREB,
                Pbox.PG$AST, Pbox.PG$TO)/Pbox.PG$MIN
names(X) <- c("P2M","P3M","REB","AST","TO")
radialprofile(data=X, ncol.arrange=3, title=Pbox.PG$Player)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.