Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NA2str

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"

cwhmisc

Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools

v6.6
GPL (>= 2)
Authors
Christian W. Hoffmann
Initial release
2018-08-24, 10:40:10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.