NaN

Manchmal führt eine Berechnung zu einem sinnlosen Ergebnis. In solchen Fällen gibt R oft NaN zurück (»not a number«, »keine Zahl«):

> Inf - Inf
[1] NaN
> 0 / 0
[1] NaN

Get R in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.