plot
method objects of class
psi_func
simply visualizes the
$\rho()$, $\psi()$, and weight functions and their
derivatives.## S3 method for class 'psi_func':
plot(x, y,
which = c("rho", "psi", "Dpsi", "wgt", "Dwgt"),
main = "full", col = c("black", "red3", "blue3", "dark green", "light green"),
leg.loc = "right", ...)
psi_func
to be plottedcharacter
vector of slots to be included in
plot; by default, all of the slots are included"full"
, "short"
or FALSE
which chooses a
full, a short or no main title at all.x
argument
of legend
matplot
psiFunc()
and the class
psi_func
.plot(huberPsi)
plot(huberPsi, which=c("psi", "Dpsi", "wgt"),
main="short", leg = "topleft")
plot(hampelPsi)
## Plotting aspect ratio = 1:1 :
plot(hampelPsi, asp=1, main="short",
which = c("psi", "Dpsi", "wgt", "Dwgt"))
Run the code above in your browser using DataLab