rinvchisq {rxode2random} | R Documentation |
Scaled Inverse Chi Squared distribution
Description
Scaled Inverse Chi Squared distribution
Usage
rinvchisq(n = 1L, nu = 1, scale = 1)
Arguments
n |
Number of random samples |
nu |
degrees of freedom of inverse chi square |
scale |
Scale of inverse chi squared distribution (default is 1). |
Value
a vector of inverse chi squared deviates.
Examples
rinvchisq(3, 4, 1) ## Scale = 1, degrees of freedom = 4
rinvchisq(2, 4, 2) ## Scale = 2, degrees of freedom = 4
[Package rxode2random version 2.1.1 Index]