R/dbRDA.R

Defines functions `dbRDA`

`dbRDA` <-
    function(D, X = NULL, Z = NULL)
{
    SOL <- PCoA(D)
    pos <- SOL$values > sqrt(.Machine$double.eps)
    Lambda <- SOL$values[pos]
    Y <- SOL$vectors[, pos] %*% diag(sqrt(Lambda))
    pRDA(Y, X, Z)
}

Try the barebone package in your browser

Any scripts or data that you put into this service are public.

barebone documentation built on May 2, 2019, 5:17 p.m.