R/ModeA.SGB.R

Defines functions ModeA.SGB

Documented in ModeA.SGB

ModeA.SGB <-
function(shape1,scale,shape2){
    modeA <- scale%*%diag(shape2^(1/shape1))
    colnames(modeA) <- colnames(scale)
    return(modeA/rowSums(modeA))
  }

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.