powered by
Scatter plot with sufficient predictors from npsdr() function
# S3 method for npsdr plot(x, ..., d = 1, lowess = TRUE)
A scatter plot with sufficient predictors.
object from the function npsdr()
npsdr()
Additional arguments to be passed to generic plot function.
plot
number of sufficient predictors. Default is 1.
draw a lowess curve. Default is TRUE.
Jungmin Shin, jungminshin@korea.ac.kr, Seung Jun Shin, sjshin@korea.ac.kr, Andreas Artemiou artemiou@uol.ac.cy
npsdr_x, npsdr
npsdr_x
npsdr
# \donttest{ 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) # }
Run the code above in your browser using DataLab