StanVariable | R Documentation |
A Stan variable
A Stan variable
odemodeling::StanDeclaration
-> StanVariable
type
type of the variable
new()
Create a StanVariable object.
StanVariable$new(name, type = "real", lower = NULL, upper = NULL)
name
name of the dimension variable
type
variable type (real or int)
lower
lower bound
upper
upper bound
declaration()
Create a declaration for the variable
StanVariable$declaration()
a string
signature()
The variable when used in function signature
StanVariable$signature()
can_be_made_parameter()
Can the object be made into a parameter?
StanVariable$can_be_made_parameter()
clone()
The objects of this class are cloneable with this method.
StanVariable$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.