| rgamma {FLCore} | R Documentation |
Random generation for the Gamma distribution with parameters 'shape' and 'scale'. 'shape' can be of class FLQuantPoint in which case 'shape' and 'scale' are set as mean^2 / var and var / mean^2.
rgamma(n,shape,rate,scale)
The FLR Team
flq <- FLQuant(rnorm(1000,mean=10,sd=2),dim=c(1,10,1,1,1,100)) flqp <- FLQuantPoint(flq) rgamma(10,shape=flqp)