R - NaN

Card Puncher Data Processing

About

NaN in R.

It defines an undefined mathematical operations and then is also an NA (Missing values)

Example

Undefined mathematical operations

> 0 / 0
[1] NaN

Function

Is.NaN

  • Is Na NaN ?
> is.nan(NA)
[1] FALSE
  • Is NaN Na ?
> is.na(NaN)
[1] TRUE





Discover More
Card Puncher Data Processing
R - Constant

R - Constant
Card Puncher Data Processing
R - NA (Not Available)

in R. NA (Not Available|Missing Values) is a logical constant. See NA values have a class. There are integer NA, character NA, etc. NA means “Not Available”. NA is a logical constant of length...



Share this page:
Follow us:
Task Runner