Learn R Programming

algebraic.dist (version 0.9.1)

gamma_dist: Construct a gamma distribution object.

Description

Construct a gamma distribution object.

Usage

gamma_dist(shape, rate)

Value

A gamma_dist object

Arguments

shape

Shape parameter (positive scalar)

rate

Rate parameter (positive scalar)

Examples

Run this code
x <- gamma_dist(shape = 2, rate = 1)
mean(x)
vcov(x)
format(x)

Run the code above in your browser using DataLab