Learn R Programming

mpoly (version 1.1.2)

eq_mp: Convert an equation to a polynomial

Description

Convert characters of the form "p1 = p2" (or similar) to an mpoly object representing p1 - p2.

Usage

eq_mp(string, ...)

Value

An object of class mpoly or mpolyList.

Arguments

string

a character string containing a polynomial, see examples

...

arguments to pass to mpoly()

Author

David Kahle david@kahle.io

See Also

mpoly()

Examples

Run this code

eq_mp(c("y = x", "y ==  (x + 2)"))



Run the code above in your browser using DataLab