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