dlogspline {logspline}R Documentation

Logspline Density Estimation

Description

Density, cumulative probability, quantiles and random samples from a logspline density.

Usage

dlogspline(q, fit)
plogspline(q, fit)
qlogspline(p, fit)
rlogspline(n, fit)

Arguments

q vector of quantiles. Missing values (NAs) are allowed.
p vector of probabilities. Missing values (NAs) are allowed.
n sample size. If length(n) is larger than 1, then length(n) random values are returned.
fit a list like the output from logspline.fit.

Details

Elements of q or p that are missing will cause the corresponding elements of the result to be missing.

Value

densities (dlogspline), probabilities (plogspline), quantiles (qlogspline), or a random sample (rlogspline) from a logspline density.

See Also

logspline.fit, logspline.plot, logspline.summary