All variables in a multivariate polynomial
Returns a character vector containing all the variables present in a mvp
object.
allvars(x)
x
: object of class mvp
Robin K. S. Hankin
The character vector returned is not in any particular order. It might have been better for allvars()
to return a disord
object.
p <- rmvp(5) p allvars(p)
Useful links