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 May 29, 2024, 2:20 a.m.