| cdssden {gss} | R Documentation |
Evaluate conditional pdf, cdf, and quantiles for smoothing spline density estimates.
cdssden(object, x, cond, int) cpssden(object, q, cond, int) cqssden(object, p, cond, int)
object |
Object of class "ssden". |
x |
Data frame or vector of points on which conditional density is to be evaluated. |
cond |
One row data frame of conditioning variables. |
int |
Normalizing constant. |
q |
Vector of points on which conditional cdf is to be evaluated. |
p |
Vector of probabilities for which conditional quantiles are to be calculated. |
The argument x in cdssden is of the same form as the
argument newdata in predict.lm, but can take a
vector for 1-D conditional densities.
cpssden and cqssden naturally only work for 1-D
conditional densities.
cdssden returns a list object with the following components.
pdf |
Vector of conditional pdf. |
int |
Normalizing constant. |
cpssden and cpssden return a vector of conditional cdf
or quantiles.
cpssden and cqssden can be very slow.