R/wRow.R

Defines functions wRow

wRow <-
function(x, w) {
  m <- ncol(x)
  p <- rowSums(x * w) / rowSums(w)
  q <- rep(0, m)
  delta <- outer(p, q, "+")
  return(list(p = p, q = q, delta = delta))
}

Try the Correlplot package in your browser

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

Correlplot documentation built on March 7, 2023, 8:33 p.m.