is.kclustering {BasketballAnalyzeR}R Documentation

Reports whether x is a 'kclustering' object

Description

Reports whether x is a 'kclustering' object

Usage

is.kclustering(x)

Arguments

x

an object to test.

Value

Returns TRUE if its argument is of class kclustering 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

kclustering

Examples

FF <- fourfactors(Tbox,Obox)
X <- with(FF, data.frame(OD.Rtg=ORtg/DRtg,
               F1.r=F1.Def/F1.Off, F2.r=F2.Off/F2.Def,
               F3.O=F3.Def, F3.D=F3.Off))
X$P3M <- Tbox$P3M
X$STL.r <- Tbox$STL/Obox$STL
kclu <- kclustering(X)
is.kclustering(kclu)

[Package BasketballAnalyzeR version 0.5.0 Index]