R: Evaluating PDF, CDF, and Quantiles of Smoothing Spline...

dssden {gss} | R Documentation

## Evaluating PDF, CDF, and Quantiles of Smoothing Spline Density Estimates

### Description

Evaluate pdf, cdf, and quantiles for smoothing spline density estimates.

### Usage

    dssden(object, x)
    pssden(object, q)
    qssden(object, p)
    d.ssden(object, x)
    d.ssden1(object, x)

### Arguments

`object` | Object of class `"ssden"`.
`x` | Data frame or vector of points on which density is to be evaluated.
`q` | Vector of points on which cdf is to be evaluated.
`p` | Vector of probabilities for which quantiles are to be calculated.

### Details

The argument `x` in `dssden` is of the same form as the argument `newdata` in `predict.lm`, but can take a vector for 1-D densities.

`pssden` and `qssden` naturally only work for 1-D densities.

### Value

A vector of pdf, cdf, or quantiles.

### See Also

Fitting function `ssden` and `cdssden`.

[Package gss version 2.1-7 Index]