R: Density function for univariate Davidian curves

ddc {dcurver} | R Documentation

## Density function for univariate Davidian curves

### Description

Returns the density for a vector of x.

### Usage

    ddc(x, phi)

### Arguments

`x` | vector of quantiles.
`phi` | Davidian curve parameters. A maximum of 10 parameters is allowed.

### Examples

    curve(ddc(x, 1.570789), -6, 6) # Approximately normal.

    phi <- c(77.32, 78.51, 76.33, 77.16)
    curve(ddc(x, phi), -6, 6) # A bimodal density.
    integrate(ddc, phi = phi, lower = -Inf, upper = Inf) # Integrates to 1.

[Package dcurver version 0.9.2 Index]