.clean <- function(LHS, RHS) {
idx <- which(Matrix::colSums(RHS) == 0)
if (length(idx) > 0) {
LHS <- LHS[, -idx]
RHS <- RHS[, -idx]
}
return(list(lhs = LHS, rhs = RHS))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.