is.Fault: Check error

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

Description

Error of a procedure in nlr package will be saved in Fault slot of fited object with object type class Fault. is.Fault read the Fault slot or a Fault object to detect error happened or no. The value inside Fault$FL will show the result.

Usage

1
is.Fault(obj)

Arguments

obj

all fited objects include a slot of Fault object to represent the error. obj can be fitt objects: nl.fitt, nl.fitt.gn, nl.fitt.rob, nl.fitt.rgn, Fault.

Details

is.Fault is imitating other is. primitive functions.It is implemented for debuging purpose in nlr.

Value

logical value TRUE or T if error happened, FALSE or F if result is not error.

Note

The Fault object can be warning, but not error, in this case you can use is.Warn or is.Faultwarn to detect warnings.

Author(s)

Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

References

Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.

See Also

Fault, is.Warn or is.Faultwarn, nl.fitt, nl.fitt.gn, nl.fitt.rob, nl.fitt.rgn

Examples

1
2

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to is.Fault in nlr...