# NOT RUN {
modello.init(10, 10, 10, 10)
## For modello_numbers
y = number(rbeta(10, 1, 2))
ld = ldbeta(y, .k(1), .k(2))
print(ld)
print(ld$v)
modello.close()
## For numerics
y = rbeta(10, 1, 2)
ld = ldbeta(y, 1, 2)
print(ld)
# }
Run the code above in your browser using DataLab