rgammat: Generate data from truncated gamma distribution

View source: R/truncated_severity.R

rgammatR Documentation

Generate data from truncated gamma distribution

Description

Random generation for the truncated Gamma distribution with parameters shape and scale.

Usage

rgammat(n, scale = scale, shape = shape, lower, upper)

Arguments

n

number of observations

scale

scale parameter

shape

shape parameter

lower

numeric. Observations below this threshold are not present in the sample.

upper

numeric. Observations above this threshold are not present in the sample.

Value

The length of the result is determined by n.

Author(s)

Martin Haringa


MHaringa/actuarialpricing documentation built on Jan. 11, 2024, 1:13 a.m.