predict.density: Predict method for density estimates

Description Usage Arguments Value See Also

View source: R/predict.density.R

Description

Predicted values based on density object

Usage

1
2
## S3 method for class 'density'
predict(obj, oldx, newx)

Arguments

obj

an object of class "density"

oldx

the data from which the density was estimated. this is needed because the density method does not keep the original data

newx

the values at which you want to compute the density

Value

a vector of density values at newx

See Also

density


3inar/einr documentation built on May 5, 2019, 10:43 a.m.