hook {mathml}R Documentation

Hook for custom symbols

Description

Hook for custom symbols

Usage

hook(term, display, quote = TRUE, as.rolog = TRUE)

Arguments

term

an R call or symbol/number. This is the expression to replace.

display

an R call or symbol/number. This is shown instead of term.

quote

(default is TRUE) indicates that term and display should be quoted.

as.rolog

(default is TRUE) indicates that simplified quasi-quotoation is to be used.

Value

TRUE on success

Examples

hook(t0, subscript(t, 0))
mathml(quote(t0))

hook(term=quote(t0), display=quote(subscript(t, 0)), quote=FALSE)
mathml(quote(t0))


[Package mathml version 1.2 Index]