is.simplereg {BasketballAnalyzeR}R Documentation

Reports whether x is a 'simplereg' object

Description

Reports whether x is a 'simplereg' object

Usage

is.simplereg(x)

Arguments

x

an object to test.

Value

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

simplereg

Examples

Pbox.sel <- subset(Pbox, MIN >= 500)
X <- Pbox.sel$AST/Pbox.sel$MIN
Y <- Pbox.sel$TOV/Pbox.sel$MIN
Pl <- Pbox.sel$Player
out <- simplereg(x=X, y=Y, type="lin")
is.simplereg(out)

[Package BasketballAnalyzeR version 0.5.0 Index]