fit.icc.model: Creates a multiple regression model predicting ICC so that...

Description Usage Arguments Value

View source: R/simulate.helpers.R

Description

Creates a multiple regression model predicting ICC so that data can be simulated fulfilling criteria.

Usage

1
2
3
4
5
6
fit.icc.model(
  target.icc = 0.02,
  sim.parameters.args.list = NULL,
  confound.interventions.args.list = NULL,
  interactions.list = NULL
)

Arguments

target.icc

Numeric target ICC ([0-1], Default: 0.02)

sim.parameters.args.list

A list of the arguments for generate.sim.parameters.dt, with names being the argument names, and values being the values, with vectors for the values that should be optimised.

confound.interventions.args.list

A list of the arguments for generate.confound.interventions.parameters.dt, with names being the argument names, and values being the values, with vectors for the values that should be optimised.

interactions.list

A list of lists of interactions to assess (Default: none)

iterations

Number of ICC that will be calculated to fit the regression model (Default: 500)

Value

A regression model with the provided predictors and ICC as the outcome.


mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.