Learn R Programming

isotree (version 0.6.1-1)

variable.names.isolation_forest: Get Variable Names for Isolation Forest Model

Description

Returns the names of the input data columns / variables to which an isolation forest model was fitted.

If the data did not have column names, it will make them up as "column_1..N".

Note that columns will always be reordered so that numeric columns come first, followed by categorical columns.

Usage

# S3 method for isolation_forest
variable.names(object, ...)

Value

A character vector containing the column / variable names.

Arguments

object

An isolation forest model, as returned by function isolation.forest.

...

Not used.