Nothing
`CCAwa1` <-
function(Y, X)
{
require(vegan) || stop("requires wascores function in vegan")
EPS <- sqrt(.Machine$double.eps)
X <- as.matrix(X)
wts <- rowSums(Y)
u <- rnorm(nrow(Y))
eig <- 0
repeat {
v <- wascores(u, Y, expand = TRUE)
w <- wascores(v, t(Y), expand = TRUE)
u <- fitted(lm(w ~ X, w = wts))
if (abs(attr(v, "shrinkage") - eig) < EPS)
break
eig <- attr(v, "shrinkage")
}
list(eig = attr(v, "shrinkage"), w = w, u = u, v = v)
}
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.