Learn R Programming

CoTiMA (version 0.7.0)

ctmaRedHet: 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 invariantDrift=\'none\' and scaleTI=FALSE)

ctmaFitObjectMod

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

digits

rounding (default = 4)

dt

A scalar 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 )