50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

naniar (version 0.3.1)

replace_to_na: Replace values with missings

Description

This function is deprecated, please see replace_with_na().

Usage

replace_to_na(data, to_na = list(), ...)

Arguments

data

A data.frame

to_na

A named list given the NA to replace values

...

additional arguments for methods.

Value

values replaced by NA