ctmaRedHet: ctmaRedHet

View source: R/ctmaRedHet.R

ctmaRedHetR Documentation

ctmaRedHet

Description

Computes the Reduction in Heterogeneity in drift effects after introducing study-level moderators

Usage

ctmaRedHet(
  activateRPB = FALSE,
  activeDirectory = NULL,
  ctmaFitObject = NULL,
  ctmaFitObjectMod = NULL,
  digits = 4,
  dt = NULL,
  undoTimeScaling = TRUE
)

Arguments

activateRPB

if TRUE, messages (warning, finished) could be send to smart phone (default = FALSE)

activeDirectory

the directory where to save results (if not specified, it is taken from ctmaInitFit)

ctmaFitObject

ctmaFit Object WITHOUT Moderators (obtained from ctmaFit with the arguments WEC=\'TRUE\' and scaleTI=FALSE)

ctmaFitObjectMod

ctmaFit Object WITH Moderators (obtained from ctmaFit with the arguments WEC=\'TRUE\' and scaleTI=FALSE)

digits

rounding (default = 4)

dt

A vector of scalars indicating a time interval across which discrete time effects should be estimated and then used for ctmaBiG.

undoTimeScaling

if TRUE, the original time scale is used (timeScale argument possibly used in ctmaInit is undone )


CoTiMA documentation built on May 29, 2024, 11:39 a.m.

Related to ctmaRedHet in CoTiMA...