Learn R Programming

icd9 (version 0.5)

asCharacterNoWarn: convert factor or vector to character without warnings

Description

correctly converts factors to vectors, and then converts to character, which may silently introduce NAs

Usage

asCharacterNoWarn(x)

Arguments

x
is a vector, probably of numbers of characters

Value

  • character vector, may have NA values