Learn R Programming

robustlmm (version 2.4-3)

chgDefaults: Change default arguments

Description

Change the default arguments for a PsiFunction instance.

Usage

# S4 method for psi_func_rcpp
chgDefaults(object, ...)

Arguments

object

PsiFunction instance to convert

...

arguments to change

Examples

Run this code
# NOT RUN {
sPsi <- chgDefaults(smoothPsi, k=2)
curve(smoothPsi@psi(x), 0, 3)
curve(sPsi@psi(x), 0, 3, color="blue", add=TRUE)
# }

Run the code above in your browser using DataLab