Learn R Programming

CoTiMA (version 0.7.0)

ctmaStdParams: ctmaStdParams

Description

Computes standardized drift effects from a CoTiMA or ctsem fit object. Can only handle CLPM or RI-CLPM fit objects.

Usage

ctmaStdParams(
  fit = NULL,
  times = 1,
  digits = 4,
  standardize = TRUE,
  oneTailed = FALSE
)

Value

ctmaStdParams returns a list of standardized discrete time drift matrices for different time intervals.

Arguments

fit

CoTiMA or ctsem fit object with or without random intercepts

times

scalar (1 by defualt) or vector of scalars defining the discrete time lags for which standardized drift effects are computed.

digits

rounding (4 by default)

standardize

logical. TRUE (default) or FALSE (does not standardize and just computes discrete time effects)

oneTailed

logical. FALSE (default) or TRUE. If TRUE, one-tailed CIs will be reported

Examples

Run this code
if (FALSE) {
ctmaStdParams(CoTiMAFullFit_3_orig, times=c(.1, 1, 2), digits=6, standardize=TRUE)
}


Run the code above in your browser using DataLab