forciblyrevalue <- function(codes=NULL) {
codes <- unlist(codes, use.names=FALSE)
uniquevalues <- unique(codes[!is.na(codes)])
newcodes <- match(x=codes,
table=uniquevalues,
nomatch=NA)
return(newcodes)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.