predict.spectral {densityratio} | R Documentation |
Obtain predicted density ratio values from a spectral
object
Description
Obtain predicted density ratio values from a spectral
object
Usage
## S3 method for class 'spectral'
predict(
object,
newdata = NULL,
sigma = c("sigmaopt", "all"),
m = c("opt", "all"),
...
)
Arguments
object |
A |
newdata |
Optional |
sigma |
A scalar with the Gaussian kernel width |
m |
integer indicating the dimension of the eigenvector expansion |
... |
Additional arguments to be passed to the function |
Value
An array with predicted density ratio values from possibly new data, but otherwise the numerator samples.
See Also
[Package densityratio version 0.2.2 Index]