R/robweights.R

robweights <-
function(object){
   if(!inherits(object, "svystat.rob")){
      stop("robweights is not a valid method for this object!\n")
   }
   as.vector(attr(object, "robweights"))
}
martinSter/rhte documentation built on May 13, 2019, 11:34 a.m.