clean.infinite: Replace one value by another and remove all NA rows

View source: R/utils-DF.R

clean.infiniteR Documentation

Replace one value by another and remove all NA rows

Description

First intention meant to change -Inf to NA but should fonction with other changes as well as long as the values to be exchanged or from equivalent classes.

Usage

clean.infinite(DF, motif = -Inf, token = NA)

Arguments

DF

a data.frame

motif

the value that should be changed. Default: -Inf

token

the new value. Default NA

Value

a data.frame


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.