Learn R Programming

robustlmm (version 1.4-2)

chgDefaults: Change default arguments

Description

Change the default arguments for a psi_func_cached object

Arguments

...
arguments to change

Examples

Run this code
hPsi <- chgDefaults(huberPsi, k=2)
curve(huberPsi@psi(x), 0, 3)
curve(hPsi@psi(x), 0, 3, color="blue", add=TRUE)

Run the code above in your browser using DataLab