R/B2P.R

Defines functions B2P

Documented in B2P

B2P <-
function(x)
    {
    x <- as.matrix(x)
    x %*% tcrossprod(solve(crossprod(x)), x) 
    }

Try the LDRTools package in your browser

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

LDRTools documentation built on Sept. 18, 2023, 1:06 a.m.