Learn R Programming

gss (version 2.2-8)

dssden: 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)

Value

A vector of pdf, cdf, or quantiles.

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.

See Also

Fitting function ssden and cdssden.