if (!isGeneric("layers")) {
setGeneric("layers", function (object, ...) standardGeneric("layers"))
}
setMethod("layers",
signature(object = "Background"),
function (object, ...) {
slot(object, "layers")
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.