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

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

View source: R/is.simplereg.R

Description

Reports whether x is a 'simplereg' object

Usage

1

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

1
2
3
4
5
6
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)

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