Skip to contents

Function to check if an object is a resampling object.

Usage

is.resampling(x)

Arguments

x

an object of class resampling

Value

Returns TRUE if its argument is a valid resampling object.

Author

Alessandro Barberis

Examples

#valid object
is.resampling(x = resampling())
#> [1] TRUE

#invalid object
is.resampling(x = 3)
#> [1] FALSE