R/ModeAobj.SGB.R

Defines functions ModeAobj.SGB

Documented in ModeAobj.SGB

ModeAobj.SGB <-
function(obj) {
    x <- obj[["par"]]
    shape1 <- x[1]
    scale <- obj[["scale"]]
    D <- NCOL(scale)
    npar <- length(x)
    n1 <- npar-D+1
    shape2 <- x[n1:npar]
    return(ModeA.SGB(shape1,scale,shape2))
  }

Try the SGB package in your browser

Any scripts or data that you put into this service are public.

SGB documentation built on March 26, 2020, 8:02 p.m.