Functions for identifying definition of the nimble model.
Usage
getModelDef(object)
Value
BUGS code of the model definition.
Arguments
object
A fitted object of BayesSIM or individual model.
Details
The function that contain Bayes SIM model structure in nimble.
This function is for advanced users.
There are several functions used in the model definition.
transX_fisher, transX_sp: Making B-spline basis.
dvMFnim: Distribution of von Mises-Fisher.
dKnotsSimple: Distribution of the free knots for bsSphere.
dunitSphere: Distribution of unit sphere.
alphaTheta: One-to-one polar transformation. Making index vector from individual angular vector psi.
expcov_gpSphere, expcov_gpPolar, expcov_gpSpike: Covariance kernel of each model.
expcov_gpSphere uses squared-exponential kernel, expcov_gpPolar uses OU process kernel, and expcov_gpSpike uses squared-exponential including its own parameter, \(\lambda^{-1}\).
Xlinear: Making linear combination with index vector.