Canonicalization of DGPs is a stateful procedure, hence the need for a class.

# S4 method for DgpCanonMethods
names(x)

# S4 method for DgpCanonMethods
$(x, name)

Arguments

x

A DgpCanonMethods object.

name

The name of the atom or expression to canonicalize.

Methods (by generic)

  • names(DgpCanonMethods): Returns the name of all the canonicalization methods

  • $: Returns either a canonicalized variable or a corresponding Dgp2Dcp canonicalization method