optimal_lag: Calculate Optimal Lag for Longitudinal Designs

Description Usage Arguments

View source: R/optimal_lag.R

Description

Calculate Optimal Lag for Longitudinal Designs.

Usage

1
optimal_lag(i, c, d, r, interval, reciprocal = TRUE)

Arguments

i

numeric. Stability of independent variable.

c

numeric. Effect of independent on dependent variable.

d

numeric. Stability of dependent variable.

r

numeric. Effect of dependent on independent.

interval

numeric. Current interval (e.g., 6 months).


dienlin/td documentation built on June 15, 2021, 6:44 a.m.