powered by
Reports whether x is a 'simplereg' object
is.simplereg(x)
an object to test.
Returns TRUE if its argument is of class simplereg and FALSE otherwise.
simplereg
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab