R/tam_weighted_cross_product.R

Defines functions tam_weighted_cross_product

## File Name: tam_weighted_cross_product.R
## File Version: 0.02

tam_weighted_cross_product <- function(x, w)
{
    cov_x <- crossprod( x * w, x )
    return(cov_x)
}

Try the TAM package in your browser

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

TAM documentation built on Aug. 29, 2022, 1:05 a.m.