R/add.point.est.r

Defines functions add.point.est

Documented in add.point.est

#' @export
add.point.est<-function(dat,type="ybar",cond=NULL)
{
  dat$point.est<-point.est(dat,type=type,cond=cond)
  if(length(dat$point.est)>1) class(dat)<-c("samples.population","finite.sample.dbn", "sample")
  else class(dat)<-c("sample")
  dat
}
david-borchers/sampling documentation built on Sept. 17, 2022, 7:54 a.m.