na_as_missing: Identify NAs and empty cells that fit a pattern and replace

na_as_missingR Documentation

Identify NAs and empty cells that fit a pattern and replace

Description

Identify NAs and empty cells that fit a pattern and replace

Usage

na_as_missing(
  df,
  pat = "^(\\s*\\[*missing\\]*\\s*|\\s*|NA|\\s*-\\s*)$",
  fill = "-"
)

Arguments

fill

fjoe88/d8ahelper documentation built on Feb. 6, 2023, 7:55 a.m.