is.corranalysis {BasketballAnalyzeR} | R Documentation |
Reports whether x is a 'corranalysis' object
Description
Reports whether x is a 'corranalysis' object
Usage
is.corranalysis(x)
Arguments
x |
an object to test. |
Value
Returns TRUE if its argument is of class corranalysis
and FALSE otherwise.
Author(s)
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketball.analyzer.help@gmail.com)
References
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
See Also
Examples
data <- data.frame(Pbox$PTS,Pbox$P3M,Pbox$P2M,
Pbox$OREB + Pbox$DREB,Pbox$AST,
Pbox$TOV,Pbox$STL,Pbox$BLK)/Pbox$MIN
names(data) <- c("PTS","P3M","P2M","REB","AST","TOV","STL","BLK")
data <- subset(data, Pbox$MIN >= 500)
out <- corranalysis(data)
is.corranalysis(out)
[Package BasketballAnalyzeR version 0.5.0 Index]