Description Usage Arguments Value Note Author(s) See Also Examples

Return the vector 'x', without elements that are NA or NaN or, if 'inf' is TRUE, equal to Inf or -Inf

1 |

`x` |
vector from which the non-real values should be dropped |

`inf` |
Should 'Inf' and '-Inf' be considered "non-real"? |

Vector containing the 'real' values of 'x' only

The differences to 'na.omit(x)' are: 'Inf' and '-Inf' are also dropped, unless 'inf==FALSE'.\ no attribute 'na.action' is appended.

Werner A. Stahel

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.