R/robweights.R

Defines functions robweights

Documented in robweights

robweights <-
function(object){
   if(!inherits(object, "svystat.rob")){
      stop("robweights is not a valid method for this object!\n")
   }
   as.vector(attr(object, "robweights"))
}

Try the rhte package in your browser

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

rhte documentation built on May 2, 2019, 6:24 p.m.