Checks if an object inherits class "outForest".

is.outForest(x)

Arguments

x

Any object.

Value

A logical vector of length one.

Examples

a <- outForest(iris)
#> 
#> Outlier identification by random forests
#> 
#>   Variables to check:		Sepal.Length, Sepal.Width, Petal.Length, Petal.Width
#>   Variables used to check:	Sepal.Length, Sepal.Width, Petal.Length, Petal.Width, Species
#> 
#>   Checking: Sepal.Length  Sepal.Width  Petal.Length  Petal.Width  
is.outForest(a)
#> [1] TRUE
is.outForest("a")
#> [1] FALSE