Learn R Programming

robustlmm (version 3.3-1)

chgDefaults: Change default arguments

Description

Change the default arguments for a psi_func_rcpp object

Usage

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

Arguments

object

instance to convert

...

arguments to change

Examples

Run this code
sPsi <- chgDefaults(smoothPsi, k=2)
curve(sPsi@psi(x), 0, 3)
curve(smoothPsi@psi(x), 0, 3, col="blue", add=TRUE)

Run the code above in your browser using DataLab