simulate_heterogeneity: Tidy heterogeneity of variance simulation

Description Usage Arguments

View source: R/fixef_sim.r

Description

This function simulates heterogeneity of level one error variance.

Usage

1

Arguments

data

Data simulated from other functions to pass to this function. This function needs to be specified after 'simulate_fixed' and 'simulate_error'.

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).

...

Other arguments to pass to error simulation functions.


simglm documentation built on Feb. 7, 2022, 9:08 a.m.