A Gibbs sampler for a projected normal mixed-effects model
pnme(
theta_cos,
theta_sin,
X1,
X2,
Z1,
Z2,
ZtZ1,
ZtZ2,
R,
pred,
its,
lag,
burn,
N
)
A List with the cosine of the circular dependent variable.
A List with the sine of the circular dependent variable.
A list of fixed effect model matrices for component I.
A list of fixed effect model matrices for component II.
A list of random effect model matrices for component I.
A list of random effect model matrices for component II.
A list of transformed random effect model matrices for component I.
A list of transformed random effect model matrices for component II.
A list of starting values for R.
An empty list for likelihood computation.
An integer specifying the number of iterations
An integer specifying the amount of lag.
An integer specifying the number of burn-in iterations.
An integer specifying the number of burn-in iterations.