Learn R Programming

robustbase (version 0.92-5)

chgDefaults-methods: Change Defaults (Parameters) of "Psi Function" Objects

Description

To modify an object of class psi_func, i.e. typically change the tuning parameters, the generic function chgDefaults() is called and works via the corresponding method.

Arguments

See Also

psiFunc

Examples

Run this code
## Hampel's psi and rho:
H.38 <- chgDefaults(hampelPsi, k = c(1.5, 3.5, 8))
H.38
plot(H.38)
## for more see  ?psiFunc

Run the code above in your browser using DataLab