https://github.com/cran/gss
Raw File
Tip revision: 1482eb76bdcd583e3ebb1dcdd73421ce1fed6012 authored by Chong Gu on 08 August 1977, 00:00:00 UTC
version 0.8-2
Tip revision: 1482eb7
dssden.Rd
\name{dssden}
\alias{dssden}
\alias{pssden}
\alias{qssden}
\title{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)
}
\arguments{
    \item{object}{Object of class \code{"ssden"}.}
    \item{x}{Data frame or vector of points on which density is to be
        evaluated.}
    \item{q}{Vector of points on which cdf is to be evaluated.}
    \item{p}{Vector of probabilities for which quantiles are to be
        calculated.}
}
\value{
    A vector of pdf, cdf, or quantiles.
}
\details{
    The argument \code{x} in \code{dssden} is of the same form as the
    argument \code{newdata} in \code{\link{predict.lm}}, but can take a
    vector for 1-D densities.

    \code{pssden} and \code{qssden} naturally only work for 1-D
    densities.
}
\seealso{
    \code{\link{ssden}} and \code{\link{cdssden}}.
}
\keyword{models}
\keyword{distribution}
\keyword{smooth}
back to top