Nothing
setOldClass("differential")
differential <- function(d) {
le <- sapply(d, length)
if(!all(le == le[1]))
stop("All derivates should have same dimensions")
dims <- lapply(d, dim)
null.dims <- sapply(dims, is.null)
if(!all(null.dims)) {
if(any(null.dims) | any(sapply(dims, \(x) !all(x == dims[[1]]))))
stop("All derivates should have same dimensions")
}
class(d) <- "differential"
d
}
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.