na_to_unknown: Recode NA

View source: R/utils.R

na_to_unknownR Documentation

Recode NA

Description

This function recodes NA to unknown for all the character columns. Factor variables will be converted to character variables.

Usage

na_to_unknown(df)

Arguments

df

A dataframe

Value

A dataframe with NA recoded to Unknown


JiyueQin/tidyreport documentation built on Nov. 24, 2024, 9:24 a.m.