value-methods | R Documentation |
Get or set the value of a variable, parameter, expression, or problem.
value(object)
value(object) <- value
object |
A Variable, Parameter, Expression, or Problem object. |
value |
A numeric scalar, vector, or matrix to assign to the object. |
The numeric value of the variable, parameter, or expression. If any part of the mathematical object is unknown, return NA
.
lambda <- Parameter()
value(lambda)
value(lambda) <- 5
value(lambda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.