Add fitted line to a plot. This is overloaded function for robust regression methods from package depthproc.
1 2 3 |
a |
an object of class RobReg |
... |
Arguments to be passed to methods, such as graphical parameters (see par). |
h |
the y-value(s) for horizontal line(s). |
v |
the x-value(s) for vertical line(s). |
reg |
an object with a |
coef |
a vector of length two giving the intercept and slope. |
untf |
logical asking whether to untransform. See ‘Details’. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.