powered by
This function plots the hinge object created by getHinge.
getHinge
# S3 method for hinge plot(x, y = 1, z = NULL, ...)
The hinge object returned from getHinge.
Specifies the class (-1 or 1) to be plotted for the hinge error.
-1
1
If specified, the majorization function with the supporting point z will also be plotted.
z
Other arguments passed to plot method.
hingefunction <- getHinge() ## plot hinge function value plot(hingefunction, z = 3)
Run the code above in your browser using DataLab