Learn R Programming

jwutil (version 1.1.1)

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