Description Usage Arguments Value Details Author(s) Examples
A function for implementing the Partial Least-Squares (PLS) Algorithm.
1 | lol.project.pls(X, Y, r, ...)
|
X |
[n, d] the data with |
Y |
[n] the labels of the samples with |
r |
the rank of the projection. |
... |
trailing args. |
A list containing the following:
|
|
|
|
|
|
|
|
|
|
|
|
For more details see the help vignette:
vignette("pls", package = "lolR")
Eric Bridgeford
1 2 3 4 | library(lolR)
data <- lol.sims.rtrunk(n=200, d=30) # 200 examples of 30 dimensions
X <- data$X; Y <- data$Y
model <- lol.project.pls(X=X, Y=Y, r=5) # use pls to project into 5 dimensions
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.