StanDeclaration | R Documentation |
A Stan variable declaration (an abstract base class)
A Stan variable declaration (an abstract base class)
name
name of the variable
lower
lower bound
upper
upper bound
new()
StanDeclaration
is an abstract class that can't be initialized.
StanDeclaration$new()
declaration()
The variable declaration as a string.
StanDeclaration$declaration()
signature()
The variable when used in function signature
StanDeclaration$signature()
print()
StanDeclaration$print()
can_be_made_parameter()
Can the object be made into a parameter?
StanDeclaration$can_be_made_parameter()
get_dims()
Get all declared dimensions related to the object.
StanDeclaration$get_dims()
A list.
clone()
The objects of this class are cloneable with this method.
StanDeclaration$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.