View source: R/main-declarations.R
stan_dim | R Documentation |
Create a StanDimension object
stan_dim(name, lower = NULL, upper = NULL)
name |
name of the dimension variable |
lower |
lower bound |
upper |
upper bound |
Other Stan variable declaration functions:
stan_array()
,
stan_matrix()
,
stan_param()
,
stan_transform()
,
stan_var()
,
stan_vector()
,
stan_vector_array()
N <- stan_dim("N")
M <- stan_dim("M", lower = 1, upper = 100)
print(N)
print(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.