Nothing
createSelmat <- function(cats) {
nvar <- length(cats)
ncol <- sum(cats)
G <- matrix(0, nvar, ncol)
ind_last <- 0
for (i in 1:nvar) {
icat <- cats[i]
ind <- ind_last + (1:icat)
G[i, ind] <- rep(1, icat)
ind_last <- ind[icat]
}
return(G)
}
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.