R/bartlett.test2.R

Defines functions bartlett.test2

bartlett.test2 <-
function(y,  # vector of observations
            grplbl) # vector of group labels

{
   res0<-bartlett.test(y,grplbl)
   res<-c(stat=res0$statistic,pval=res0$p.value)
   return(res)
 }

Try the HybridMTest package in your browser

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

HybridMTest documentation built on Nov. 8, 2020, 8:29 p.m.