Description Usage Arguments Value Examples
View source: R/writemodelsplines.R
Write a JAGS model to fit first- and second-order penalized splines regression
1 2 | writeModelSplines(order = NULL, cs.smoothing = T, nserror.estimated = T,
file.name = "model.txt")
|
order |
order of penalization (either 1 or 2). |
cs.smoothing |
whether smoothing paramter is country specific. If 'FALSE', smoothing parameter is global. |
nserror.estimated |
whether to estimate non-sampling error. IF 'FALSE', fixed sampling error is inputted. |
file.name |
name of file to be saved. Must be a '.txt' file |
A text file that contains a JAGS model
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.