R/EscobarBergerVariance.R

Defines functions EscobarBergerVariance

EscobarBergerVariance=function(N,r,pi,pij,type=c("total","mean")){
  if(type=="total"){
    return(VE.EB.SYG.Total.Hajek(r,pi,pij,N,rep(1,length(pi))))
  }
  if(type=="mean"){
    return(VE.EB.SYG.Mean.Hajek(r,pi,pij,rep(1,length(pi))))
  }
}

Try the RRTCS package in your browser

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

RRTCS documentation built on April 21, 2021, 9:06 a.m.