Press "Enter" to skip to content

Understanding Special Values In R

Tomaz Kastrun walks through various special values in R:

R language supports several null-able values and it is relatively important to understand how these values behave, when making data pre-processing and data munging.

In general, R supports:

  • NULL

  • NA

  • NaN

  • Inf / -Inf

Read on for an explanation of each.  Also be sure to read Mark van der Loo’s comment and Tomaz’s response.