NA2str {cwhmisc}R Documentation

Convert NA, NaN, Inf to a string

Description

Conversion of indefinite values

Usage

  NA2str( x )

Arguments

x

A numerical vector.

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch>

Examples

 NA2str(c(NA,NaN) ) # "NA"  "NaN"

[Package cwhmisc version 6.6 Index]