Description Usage Arguments Value Author(s) References See Also Examples
View source: R/is.hclustering.R
Reports whether x is a 'hclustering' object
1 |
x |
an object to test. |
Returns TRUE if its argument is of class hclustering
and FALSE otherwise.
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.
1 2 3 4 5 6 7 8 | data <- data.frame(Pbox$PTS,Pbox$P3M,
Pbox$OREB + Pbox$DREB, Pbox$AST,
Pbox$TOV, Pbox$STL, Pbox$BLK,Pbox$PF)
names(data) <- c("PTS","P3M","REB","AST","TOV","STL","BLK","PF")
data <- subset(data, Pbox$MIN >= 1500)
ID <- Pbox$Player[Pbox$MIN >= 1500]
hclu <- hclustering(data, labels=ID, k=7)
is.hclustering(hclu)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.