vars: Determine the variables in a mpoly object.

Description Usage Arguments Value Examples

View source: R/vars.R

Description

Determine the variables in a mpoly object.

Usage

1
vars(p)

Arguments

p

An mpoly or mpolyList object.

Value

A character vector of the variable names.

Examples

1
2
3
4
5
p <- mp("x + y^2")
vars(p)

p <- mp(c("x + y^2", "y - 2 x"))
vars(p)

mpoly documentation built on March 26, 2020, 7:33 p.m.