Learn R Programming

CVXR (version 1.0-14)

DgpCanonMethods-class: DGP canonical methods class.

Description

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

Usage

# 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