find_duplicate_columns: Find duplicate columns

View source: R/preprocessing_removal.R

find_duplicate_columnsR Documentation

Find duplicate columns

Description

It is a helper function for the rm_duplicate_columns(). It creates a 2 dimensional matrix which has 0s when the columns are not duplicates and 1s otherwise.

Usage

find_duplicate_columns(data)

Arguments

data

A data source, that is one of the major R formats: data.table, data.frame, matrix, and so on.

Value

A numeric 0-1 matrix.


ModelOriented/forester documentation built on June 6, 2024, 7:29 a.m.