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