powered by
Change the default arguments for a psi_func_rcpp object
# S4 method for psi_func_rcpp chgDefaults(object, ...)
instance to convert
arguments to change
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