View source: R/summary.ddsPLS.R
print.ddsPLS | R Documentation |
Function to sum up bootstrap performance results of the ddsPLS algorithm
## S3 method for class 'ddsPLS'
print(x, ...)
x |
A ddsPLS object. |
... |
arguments to be passed to methods, such as graphical parameters. |
No return value, called for side effects
ddsPLS
, plot.ddsPLS
, predict.ddsPLS
n <- 100 ; d <- 2 ; p <- 20 ; q <- 2
phi <- matrix(rnorm(n*d),n,d)
a <- rep(1,p/4) ; b <- rep(1,p/2)
X <- phi%*%matrix(c(1*a,0*a,0*b,1*a,3*b,0*a),nrow = d,byrow = TRUE) +
matrix(rnorm(n*p,sd = 1/4),n,p)
Y <- phi%*%matrix(c(1,0,0,0),nrow = d,byrow = TRUE) +
matrix(rnorm(n*q,sd = 1/4),n,q)
res <- ddsPLS(X,Y,verbose=FALSE)
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.