Description Usage Arguments Details Value Note Author(s) References See Also Examples
Return TRUE if error oe warning occured. Error or warning of a procedure in nlr
package will be saved in Fault
slot of fited object with object type class Fault
. is.Faultwarn
read the Fault
slot or a Fault
object to detect error happened or no. The value inside Fault$FN
will display the error code. If is not zero means an error or warning raised.
1 | is.Faultwarn(obj)
|
obj |
all fited objects include a slot of |
is.Faultwarn
is imitating other is.
primitive functions.It is implemented for debuging purpose in nlr
.
logical value TRUE
or T
if error or warning occured, FALSE
or F
if result is not error nor warning. Technicaly if The slot FN
of Fault
object if is not zero means error or warning raised, in that case other slots represent the error or warning informations.
The Fault
object can be error or warning, is.Warn
check for warning only and is.Fault
check the error.
Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
Fault
, is.Warn
or is.Fault
, nl.fitt
, nl.fitt.gn
, nl.fitt.rob
, nl.fitt.rgn
1 | is.Faultwarn(Fault(FN=1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.