Nothing
#' @rdname internal_desc
#' @export
wtcalc <- function(wtLUT, strvar, acrevar){
## DESCRIPTION: Internal function to calculate weights (proportions) by strata.
strnames <- unique(wtLUT[,strvar])
stracres <- tapply(wtLUT[,acrevar], wtLUT[,strvar], sum)
stracres[!(levels(strnames) %in% strnames)] <- 0
stracres/sum(stracres)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.