constant | R Documentation |
The constant of a weyl
object is the coefficient of the
term with all zeros.
constant(x, drop = TRUE)
constant(x) <- value
x |
Object of class |
drop |
Boolean with default |
value |
Constant value to replace existing one |
Returns a numeric or weyl object
The constant.weyl()
function is somewhat awkward because it has
to deal with the difficult case where the constant is zero and
drop=FALSE
.
Robin K. S. Hankin
(a <- rweyl()+700)
constant(a)
constant(a,drop=FALSE)
constant(a) <- 0
constant(a)
constant(a,drop=FALSE)
constant(a+66) == constant(a) + 66
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.