Density {cascsim}R Documentation

Density function.

Description

Density function.

Usage

Density(object, x, ...)

## S4 method for signature 'Normal'
Density(object, x, log = FALSE)

## S4 method for signature 'Beta'
Density(object, x, log = FALSE)

## S4 method for signature 'Exponential'
Density(object, x, log = FALSE)

## S4 method for signature 'Gamma'
Density(object, x, log = FALSE)

## S4 method for signature 'Geometric'
Density(object, x, log = FALSE)

## S4 method for signature 'Lognormal'
Density(object, x, log = FALSE)

## S4 method for signature 'NegativeBinomial'
Density(object, x, log = FALSE)

## S4 method for signature 'Pareto'
Density(object, x, log = FALSE)

## S4 method for signature 'Poisson'
Density(object, x, log = FALSE)

## S4 method for signature 'Uniform'
Density(object, x, log = FALSE)

## S4 method for signature 'Weibull'
Density(object, x, log = FALSE)

## S4 method for signature 'Empirical'
Density(object, x, log = FALSE)

Arguments

object

Distribution Object

x

Variable value

...

Additional function arguments

log

Boolean variable to indicate whether to return log of probability

Examples

xPareto <- new("Pareto",p1=20,p2=3)
Density(xPareto,50)

[Package cascsim version 0.4 Index]