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

is.inf

Returns a logical vecto, TRUE if the value is Inf or -Inf.


Description

This function works in similar fashion as in is.na and is.notinf.

Usage

is.inf(x)

Arguments

x

A numerical value or a vector of data.

Value

A logical vector, T if the value is Inf or -Inf.

Note

In the presence of missing value, the function will return a missing value.

Author(s)

Steve Su

See Also

Examples

is.inf(c(Inf,2,2,1,-Inf))

GLDEX

Fitting Single and Mixture of Generalised Lambda Distributions (RS and FMKL) using Various Methods

v2.0.0.7
GPL (>= 3)
Authors
Steve Su, with contributions from: Diethelm Wuertz, Martin Maechler and Rmetrics core team members for low discrepancy algorithm, Juha Karvanen for L moments codes, Robert King for gld C codes and starship codes, Benjamin Dean for corrections and input in ks.gof code and R core team for histsu function.
Initial release
2020-02-04

We don't support your browser anymore

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