Description Usage Arguments Value Examples
View source: R/basicFunctionsKernel.R
Evaluates the estimated density of new observations (testing points) of a "combinedFlexCoDE" object
1 2 | ## S3 method for class 'combinedFlexCoDEKernel'
predict(objectCombined, kernelNewTrain, B = 1000)
|
B |
Number of point where f(z|x) will be evaluated (on the z scale). This will be equally spaced between zMin and zMax |
objectCDE |
Object of the class "combinedFlexCoDE", typically fitted used |
xNew |
Matrix with nTest rows and same number of columns as xTrain, containing x's for which the estimates are desired. |
The return value is an object with the following components
z |
Points where the density was evaluate |
CDE |
Matrix with value of the density at points z. Each row corresponds to a different observation x (i-th row of CDE corresponds to i-th row of xTest). |
1 | # See \code{\link{combineFlexCoDE}}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.