# =========================================================
# Extract offset name
# =========================================================
untangle.offset <- function(tt) {
spc <- attr(tt, "offset")
if (length(spc) == 0)
vars = character(0)
facs <- attr(tt, "factors")
fname <- dimnames(facs)
vars = (fname[[1]])[spc]
return(vars)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.