Learn R Programming

nlr (version 0.1-3)

Fault: Class "Fault"

Description

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

Arguments

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.

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

Run this code
# NOT RUN {
showClass("Fault")
db.Fault        # Error codes
Fault(FN=1)
# }

Run the code above in your browser using DataLab