Fault: Class '"Fault"'

Description Objects from the Class Slots methods Note Author(s) References See Also Examples

View source: R/obj3_Fault.R

Description

Error object returns from all functions in nlr. It may return no fault or warning or error message.

Objects from the Class

Objects can be created by calls of the form new("Fault",FL = F,FN=0,FT=NULL,FF=NULL,pnt=F).

if pnt=T then it display the created object result.

Slots

FL:

Object of class "logical" Fault Logic if is TRUE error occured otherwise no error occured.

FN:

Object of class "numeric" Fault Number, code for error, see notes bellow. All codes can be seen in db.Fault

FT:

Object of class "character" Fault Text, explain the error.

FF:

Object of class "character" Fault File, the function that error raised in.

methods

$

signature(x = "Fault"): return slots.

Note

db.Fault variable include error codes and expression used in Fault.

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

db.Fault

Examples

1
2
3
showClass("Fault")
db.Fault        # Error codes
Fault(FN=1)

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

Related to Fault in nlr...