plot.npsdr {psvmSDR} | R Documentation |
Scatter plot with sufficient predictors from npsdr() function
Description
Scatter plot with sufficient predictors from npsdr() function
Usage
## S3 method for class 'npsdr'
plot(x, ..., d = 1, lowess = TRUE)
Arguments
x |
object from the function |
... |
Additional arguments to be passed to generic |
d |
number of sufficient predictors. Default is 1. |
lowess |
draw a lowess curve. Default is TRUE. |
Value
A scatter plot with sufficient predictors.
Author(s)
Jungmin Shin, jungminshin@korea.ac.kr, Seung Jun Shin, sjshin@korea.ac.kr, Andreas Artemiou artemiou@uol.ac.cy
See Also
Examples
set.seed(1)
n <- 200;
p <- 5;
x <- matrix(rnorm(n*p, 0, 2), n, p)
y <- x[,1]/(0.5 + (x[,2] + 1)^2) + 0.2*rnorm(n)
obj_kernel <- npsdr(x, y, plot=FALSE)
plot(obj_kernel)
[Package psvmSDR version 1.0.2 Index]