Nothing
estimatePLS_Step2 <- function(model) {
lvs <- model$info$lvs.linear
Ip <- model$matrices$Ip
lambda <- model$matrices$lambda
partLambda <- cbind(Ip, lambda)
gamma <- model$matrices$gamma
partGamma <- rbind(cbind(Ip, matrix(0, nrow = nrow(Ip), ncol = ncol(gamma))),
cbind(matrix(0, nrow = nrow(gamma), ncol = ncol(Ip)), gamma))
S <- model$matrices$S
C <- model$matrices$C
SC <- model$matrices$SC
model$matrices$C <- t(gamma) %*% C %*% gamma
model$matrices$SC <- t(partGamma) %*% t(partLambda) %*% S %*% partLambda %*% partGamma
dimnames(model$matrices$SC) <- dimnames(SC)
model
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.