Nothing
longDF2ratetable <-
function(DF,
value.var = "haz",
by.vars = setdiff(names(DF), value.var)) {
univals <- lapply(DF[, by.vars], unique)
names(univals) <- NULL
dimvec <- sapply(DF[, by.vars], function(x) {
length(unique(x))
},
simplify = TRUE)
ar <- array(DF[, value.var], dim = dimvec)
dimnames(ar) <- univals
attr(ar, "class") <- "ratetable"
attr(ar, "dimid") <- colnames(DF)
ar
invisible()
}
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.