Nothing
measureScoreHelper = function(features, measureFun) {
n = length(features)
scores = unlist(lapply(1:(n - 1), function(i) {
sapply((i + 1):n, function(j) {
measureFun(features[[i]], features[[j]])
})
}))
return(scores)
}
meansWithoutZeros = function(x, dim.of.interest, len) {
res = numeric(len)
l = split(x, dim.of.interest)
l = unlist(lapply(l, mean))
pos = as.numeric(names(l)) + 1
res[pos] = l
return(res)
}
colMeansWithoutZeros = function(m) {
return(meansWithoutZeros(m@x, m@j, m@Dim[2]))
}
rowMeansWithoutZeros = function(m) {
return(meansWithoutZeros(m@x, m@i, m@Dim[1]))
}
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.