Learn R Programming

mgpd (version 1.99)

fbgpd: internal

Description

internal use only

Usage

fbgpd(initpar, dat, model = "log", fixed = FALSE, control = list(maxit = 50000), psi = 3, ...)

Arguments

initpar
dat
model
fixed
control
psi
...

Value

  • internal use only

Details

internal use only

References

internal use only

See Also

internal use only

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (initpar, dat, model = "log", fixed = FALSE, control = list(maxit = 50000), 
    psi = 3, ...) 
{
    est = optim(initpar, bgpd_maxlik, dat = dat, model = model, 
        control = control, fixed = fixed, psi = psi)
    if (fixed == TRUE) 
        est$par[1] = 0
    est
  }

Run the code above in your browser using DataLab