correlate_variables function

Correlate elements

Correlate elements

correlate_variables(data, sim_args, ...)

Arguments

  • data: Data simulated from other functions to pass to this function.

  • sim_args: A named list with special model formula syntax. See details and examples for more information. The named list may contain the following:

    • fixed: This is the fixed portion of the model (i.e. covariates)
    • random: This is the random portion of the model (i.e. random effects)
    • error: This is the error (i.e. residual term).
    • correlate: These are the correlations for random effects and/or fixed effects.
  • ...: Additional arguments, currently not used.

  • Maintainer: Brandon LeBeau
  • License: MIT + file LICENSE
  • Last published: 2022-02-07