Function to check if an object is a resampling
object.
Arguments
- x
an object of class
resampling
Value
Returns TRUE
if its argument is a valid resampling
object.
Examples
#valid object
is.resampling(x = resampling())
#> [1] TRUE
#invalid object
is.resampling(x = 3)
#> [1] FALSE