R/baseline.corr.R

Defines functions baseline.corr

Documented in baseline.corr

baseline.corr <- function(y, ...)
{
  if (is.vector(y)) {
    y - asysm(y, ...)
  } else {
    t(apply(y, 1, function(x) x - asysm(x, ...)))
  }
}

Try the ptw package in your browser

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

ptw documentation built on Jan. 19, 2022, 5:07 p.m.