StanDimension | R Documentation |
A dimension for a Stan vector or array
A dimension for a Stan vector or array
odemodeling::StanDeclaration
-> StanDimension
new()
Create a StanDimension object
StanDimension$new(name, lower = NULL, upper = NULL)
name
name of the dimension variable
lower
lower bound
upper
upper bound
declaration()
Create a data block declaration for the dimension.
StanDimension$declaration()
signature()
The variable when used in function signature
StanDimension$signature()
get_dims()
Get all declared dimensions related to the object.
StanDimension$get_dims()
A list.
clone()
The objects of this class are cloneable with this method.
StanDimension$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.