Skip to contents

Replaces all NaN values with NA in numeric columns of a data frame.

Usage

convert_nan_to_na(data)

Arguments

data

A data frame.

Value

A data frame with NaN values replaced by NA in numeric columns.