Learn R Programming

mixAK (version 2.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:
  • yworked out value of y
  • distworked out value of dist
  • idworked out value of id
  • timeworked out value of time
  • xworked out value of x
  • zworked out value of z
  • random.interceptworked out value of random.intercept
  • Rnumber of response variables
  • Rcnumber of continuous response variables
  • Rdnumber of discrete response variables
  • ndistnumerical counterpart of 'dist' argument
  • xemptylogical vector of length R
  • zemptylogical vector of length R
  • pnumeric vector of length R
  • qnumeric vector of length R
  • fixed.interceptlogical vector of length R
  • CrandomIntcptnumerical counterpart of random.intercept
  • CfixedIntcptnumerical counterpart of fixed.intercept
  • dimbdimension of random effects (random intercepts included)
  • LTblength of lower triangle of matrix dimb x dimb
  • naamLTbnames (indices) for elements of a lower triangle of matrix dimb x dimb
  • lalphalength of alpha vector (fixed intercepts included)
  • p_finumeric vector of length R
  • q_rinumeric vector of length R
  • name.responsecharacter vector

See Also

GLMM_MCMC.