mvp (version 1.0-8)

mpoly: Conversion to and from mpoly form

Description

The mpoly package by David Kahle provides similar functionality to this package, and the functions documented here convert between mpoly and mvp objects. The mvp package uses mpoly::mp() to convert character strings to mvp objects.

Usage

mpoly_to_mvp(m)
# S3 method for mvp
as.mpoly(x,...)

Arguments

m

object of class mvp

x

object of class mpoly

...

further arguments, currently ignored

See Also

spray

Examples

Run this code
# NOT RUN {
x <- rmvp(5)

x == mpoly_to_mvp(mpoly::as.mpoly(x))        # should be TRUE
# }

Run the code above in your browser using DataLab