rinvgauss: Sample from inverse Gaussian distribution

Description Usage Arguments Value Examples

Description

Draw samples from inverse Gaussian distribution

Usage

1
rinvgauss(n, mean = 1, shape = NULL, dispersion = 1)

Arguments

n

sample size.

mean

vector of positive means.

shape

vector of (positive) shape parameters.

dispersion

vector of (positive) dispersion parameters.

Value

A vector of random samples from inverse Gaussian distribution

Examples

1
rinvgauss(100,mean=1,shape=2)

jialiwang1211/GCMlasso documentation built on May 14, 2019, 12:55 a.m.