Learn R Programming

ashr (version 2.2-63)

my_e2truncgamma: second moment of truncated gamma distribution

Description

Compute second moment of the truncated gamma.

Usage

my_e2truncgamma(a, b, shape, rate)

Arguments

a

left limit of distribution

b

right limit of distribution

shape

shape of gamma distribution

rate

rate of gamma distribution