Learn R Programming

mixAK (version 4.2)

GLMM_MCMCdata: Data manipulation for the GLMM_MCMC function

Description

This is a help function for GLMM_MCMC function.

THIS FUNCTION IS NOT TO BE CALLED BY ORDINARY USERS.

Usage

GLMM_MCMCdata(y, dist, id, time, x, z, random.intercept)

Arguments

y
see GLMM_MCMC function.
dist
see GLMM_MCMC function.
id
see GLMM_MCMC function.
time
see GLMM_longitDA function.
x
see GLMM_MCMC function.
z
see GLMM_MCMC function.
random.intercept
see GLMM_MCMC function.

Value

A list with the following components:
y
worked out value of y
dist
worked out value of dist
id
worked out value of id
time
worked out value of time
x
worked out value of x
z
worked out value of z
random.intercept
worked out value of random.intercept
R
number of response variables
Rc
number of continuous response variables
Rd
number of discrete response variables
ndist
numerical counterpart of 'dist' argument
xempty
logical vector of length R
zempty
logical vector of length R
p
numeric vector of length R
q
numeric vector of length R
fixed.intercept
logical vector of length R
CrandomIntcpt
numerical counterpart of random.intercept
CfixedIntcpt
numerical counterpart of fixed.intercept
dimb
dimension of random effects (random intercepts included)
LTb
length of lower triangle of matrix dimb x dimb
naamLTb
names (indices) for elements of a lower triangle of matrix dimb x dimb
lalpha
length of alpha vector (fixed intercepts included)
p_fi
numeric vector of length R
q_ri
numeric vector of length R
name.response
character vector

See Also

GLMM_MCMC.