is_list <- function(obj,
validate=FALSE){
is.list(obj) &&
!is.data.frame(obj) &&
!is_sparse_matrix(obj) &&
!methods::is(obj,"matrix") &&
if(isTRUE(validate)){
all(c("data","obs") %in% names(obj))
} else {
TRUE
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.