View source: R/ctmaStdParams.R
ctmaStdParams | R Documentation |
Computes standardized drift effects from a CoTiMA or ctsem fit object. Can only handle CLPM or RI-CLPM fit objects.
ctmaStdParams(
fit = NULL,
times = 1,
digits = 4,
standardize = TRUE,
oneTailed = FALSE
)
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 |
ctmaStdParams returns a list of standardized discrete time drift matrices for different time intervals.
## Not run:
ctmaStdParams(CoTiMAFullFit_3_orig, times=c(.1, 1, 2), digits=6, standardize=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.