hybrid_compare <- function(op, x, y) {
hybrid_tree(
fun = op,
args = list(x = x, y = y),
class = c(paste0("hybrid_arith_compare_", op), "hybrid_compare")
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.