buildFreqdist: Building a freqdist object

Description Usage Arguments Details Author(s) See Also Examples

View source: R/buildFreqdist.R

Description

Building a freqdist object

Usage

1
  buildFreqdist(freq.distr, freq.param)

Arguments

freq.distr

A string giving the name of the distribution.

Distributions "pois" and "nbinom" are recognised.

freq.param

List of numerical values giving the parameters for the given distribution.

Details

A freqdist object with type 'plain' is generated, i.e. for a given cell the losses occur with frequency given by distribution 'distr' with parameters given by 'param'.

Author(s)

Christina Zou

See Also

The sevdist objects according to different types are built via buildPlainSevdist, buildSplicedSevdist and buildMixingSevdist.

Examples

1
2
3
  # Poisson distributed frequency with lambda = 50
  
  freqdist1 = buildFreqdist("pois", 50)

OpVaR documentation built on May 29, 2018, 9:04 a.m.