print.ddsPLS: Function to sum up bootstrap performance results of the...

View source: R/summary.ddsPLS.R

print.ddsPLSR Documentation

Function to sum up bootstrap performance results of the ddsPLS algorithm

Description

Function to sum up bootstrap performance results of the ddsPLS algorithm

Usage

## S3 method for class 'ddsPLS'
print(x, ...)

Arguments

x

A ddsPLS object.

...

arguments to be passed to methods, such as graphical parameters.

Value

No return value, called for side effects

See Also

ddsPLS, plot.ddsPLS, predict.ddsPLS

Examples

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)


ddsPLS documentation built on May 31, 2023, 7:50 p.m.