Description Usage Arguments Value
View source: R/getsplinesdata.R
Function to get basis splines data to run country model in JAGS.
1 | getSplinesData(nyears.c, niso, order, I = 2.5)
|
nyears.c |
vector with number of years of observations for each country |
niso |
number of countries |
order |
order of splines penalization; must be 1 or 2. |
I |
interval length between two knots during observation period. Default is 2.5 years. |
A list of data for input to JAGS, which includes matrix of basis splines for each country.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.