mpoly: Conversion to and from mpoly form

Description Usage Arguments Author(s) See Also Examples

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

1
2
3
mpoly_to_mvp(m)
## S3 method for class 'mvp'
as.mpoly(x,...)

Arguments

m

object of class mvp

x

object of class mpoly

...

further arguments, currently ignored

Author(s)

Robin K. S. Hankin

See Also

spray

Examples

1
2
3
x <- rmvp(5)

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

mvp documentation built on Feb. 4, 2019, 5:05 p.m.