Method for Profiling EVD Objects
Calculate joint profile traces for fitted models.
## S3 method for class 'evd'
profile2d(fitted, prof, which, pts = 20, convergence =
FALSE, method = "Nelder-Mead", control = list(maxit = 5000), ...)fitted |
An object of class |
prof |
An object of class |
which |
A character vector of length two containing the original model parameters that are to be jointly profiled. |
pts |
The number of distinct values used for each profiled
parameter in |
convergence |
Logical; print convergence code after each
optimization? (A warning is given for each non-zero convergence
code, irrespective of the value of |
method |
The optimization method. |
control |
Passed to |
... |
Ignored. |
An object of class "profile2d.evd", which is a list with three
elements.
The first element, a matrix named trace, has the same structure
as the elements of an object of class "profile.evd".
The last two elements give the distinct values used for each profiled
parameter in which.
uvdata <- rgev(100, loc = 0.13, scale = 1.1, shape = 0.2)
M1 <- fgev(uvdata)
## Not run: M1P <- profile(M1)
## Not run: M1JP <- profile2d(M1, M1P, which = c("scale", "shape"))
## Not run: plot(M1JP)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.