fit.icc.regression.model: Fits a regression model predicting ICC from provided...

Description Usage Arguments Value

Description

Fits a regression model predicting ICC from provided variables.

Usage

1
2
3
4
5
6
fit.icc.regression.model(
  icc.dt,
  predictor.vars = NULL,
  include.interactions = F,
  model.type = c("lm", "loess")[1]
)

Arguments

icc.dt

A data.table with the parameters of the various simulations and ICC.

predictor.vars

Calculate interation effects, or just simple effects (Default: F)

model.type

Type of model to fit, currently supports linear ('lm') and quadratic ('loess') (Default: 'lm')

Value

A linear model object.


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