invert | R Documentation |
Given an mvp
object, replace one or more symbols with their reciprocals
invert(p, v)
p |
Object (coerced to) |
v |
Character vector of symbols to be replaced with their reciprocal; missing interpreted as replace all symbols |
Robin K. S. Hankin
subs
invert("x")
(P <- as.mvp("1+a+6*a^2 -7*a*b"))
invert(P,"a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.