Learn R Programming

tabxplor (version 1.1.0)

fct_to_na: Replace Factor Levels with NA

Description

Replace Factor Levels with NA

Usage

fct_to_na(factor, patternlist)

Arguments

factor

A factor.

patternlist

A character vector of levels.

Value

A factor.