print.mmp_prior {makemyprior} | R Documentation |
Description
Usage
## S3 method for class 'mmp_prior'
print(x, ...)
## S3 method for class 'mmp_inla'
print(x, ...)
## S3 method for class 'mmp_stan'
print(x, ...)
Arguments
x |
Object of class |
... |
For |
Value
Returns input object invisible.
Examples
pri <- makemyprior_example_model()
pri # or print(pri)
if (interactive() && requireNamespace("rstan")){
res_stan <- inference_stan(ex_prior, iter = 100)
# Note: For reliable results, increase the number of iterations (e.g., 'iter = 2000')
res_stan # or print(res_stan)
}
if (interactive() && requireNamespace("INLA")){
res_inla <- inference_inla(pri)
res_inla # or print(res_inla)
}
[Package makemyprior version 1.2.1 Index]