#eg1.
data('example3')
multi_model <- '
X =~ current
time =~ myTime
X(2) ~ X(1) + X + (1 + X(1) + X | year)
'
scale_mydata <- Scale_within(example3[(example3["year"] >= 2015)&(example3["year"] <= 2018),]
,multi_model
,center=TRUE)
Run the code above in your browser using DataLab