Learn R Programming

BasketballAnalyzeR (version 0.5.0)

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

Description

Reports whether x is a 'fourfactors' object

Usage

is.fourfactors(x)

Arguments

x

an object to test.

Value

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

References

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

See Also

fourfactors

Examples

Run this code
# NOT RUN {
selTeams <- c(2,6,10,11)
out <- fourfactors(Tbox[selTeams,], Obox[selTeams,])
is.fourfactors(out)
# }

Run the code above in your browser using DataLab