transform_data: Transform features with Inf or NA to other number

View source: R/transform_data.R

transform_dataR Documentation

Transform features with Inf or NA to other number

Description

Transform features with Inf or NA to other number

Usage

transform_data(data, feature, data_type = c("NA", "Inf", "zero"), into = 0)

Arguments

data

data with Inf

feature

variables

data_type

is data NA or infinite

into

transform data into 0 or 1, or others, default is 0

Value

minipulated data

Author(s)

Dongqiang Zeng


IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.