Description Usage Arguments Value Author(s) References See Also Examples
Reports whether x is a 'simplereg' object
1 | is.simplereg(x)
|
x |
an object to test. |
Returns TRUE if its argument is of class simplereg
and FALSE otherwise.
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.