is.variability: Reports whether x is a 'variability' object

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/is.variability.R

Description

Reports whether x is a 'variability' object

Usage

1

Arguments

x

an object to test.

Value

Returns TRUE if its argument is of class variability and FALSE otherwise.

Author(s)

Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)

References

P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.

See Also

variability

Examples

1
2
3
4
5
Pbox.BC <- subset(Pbox, Team=="Oklahoma City Thunder" & MIN >= 500,
                    select=c("P2p","P3p","FTp","P2A","P3A","FTA"))
out <- variability(data=Pbox.BC, data.var=c("P2p","P3p","FTp"),
                   size.var=c("P2A","P3A","FTA"), weight=TRUE)
is.variability(out)

BasketballAnalyzeR documentation built on July 2, 2020, 2:14 a.m.