substituteQspray | R Documentation |
Substitute some variables in a qspray
polynomial.
substituteQspray(qspray, values)
qspray |
a |
values |
the values to be substituted; this must be a vector whose
length equals the number of variables of |
A qspray
object.
library(qspray)
x <- qlone(1)
y <- qlone(2)
z <- qlone(3)
p <- x^2 + y^2 + x*y*z - 1
substituteQspray(p, c("2", NA, "3/2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.