Nothing
count_nonzero_a <- function(x) {
if (length(dim(x)) == 3) {
count1 <- matrix(0, dim(x)[3])
for (ww in seq_len(dim(x)[3])) {
n <- sum(x[, , ww] != 0)
count1[ww] <- n
}
n <- max(count1)
} else {
count1 <- matrix(0, ncol(x))
for (ww in seq_len(ncol(x))) {
n <- sum(x[, ww] != 0)
count1[ww] <- n
}
n <- max(count1)
}
n
}
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.