R/TTEST.R

Defines functions TTEST

Documented in TTEST

TTEST = function(x, y, conf.level=0.95)
{
  x = x[is.finite(x)]
  y = y[is.finite(y)]
  return(mtest(mean(x), sd(x), length(x), mean(y), sd(y), length(y), conf.level=conf.level))
}

Try the sasLM package in your browser

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

sasLM documentation built on Oct. 2, 2024, 9:06 a.m.