allvars {mvp}R Documentation

All variables in a multivariate polynomial

Description

Returns a character vector containing all the variables present in a mvp object.

Usage

allvars(x)

Arguments

x

object of class mvp

Note

The character vector returned is not in any particular order. It might have been better for allvars() to return a disord object.

Author(s)

Robin K. S. Hankin

Examples

p <- rmvp(5)
p
allvars(p)

[Package mvp version 1.0-18 Index]