Investigates behavior of objective function near the solution
represented by fitted.
See documentation on method functions for further details.
profile(fitted, …)the original fitted model object.
additional parameters. See documentation on individual methods.
A list with an element for each parameter being profiled. See the individual methods for further details.
profile.nls,
profile.glm in package MASS,
…
For profiling R code, see Rprof.