powered by
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.
nlr
Fault
is.Fault
Fault$FL
is.Fault(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.
obj
nl.fitt
nl.fitt.gn
nl.fitt.rob
nl.fitt.rgn
logical value TRUE or T if error happened, FALSE or F if result is not error.
TRUE
T
FALSE
F
is.Fault is imitating other is. primitive functions.It is implemented for debuging purpose in nlr.
is.
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
Fault, is.Warn or is.Faultwarn, nl.fitt, nl.fitt.gn, nl.fitt.rob, nl.fitt.rgn
is.Warn
is.Faultwarn
# NOT RUN { is.Fault(1) is.Fault(Fault(FN=1)) # }
Run the code above in your browser using DataLab