记得之前有写过如何用R做随机截距交叉滞后,有些粉丝完全是R小白,还是希望我用mplus做,今天就给大家写写如何用mplus做随机截距交叉滞后. 做之前我们需要知道一些Mplus的默认的设定: observed and latent exogenous variables are correlated, and residuals of observed and latent outcome variables (which do not predict anything) in a path m
function al(){alert("我擦")}此时,al代表这个函数的对象,al()就是直接运行了.var nfun=al;就是让nfun也指向了al,此时nfun()就相当于al().那么我们来说下oBtn.onclickoBtn.onclick也就相当于一个nfun,只不过它附属于oBtn这个标签.等号是赋值操作如果是对象,就会把对象的指向付给变量.al是对象指向,al()就是执行了函数,它最终是个什么东西,就看函数体返回什么类型,al里就一个alert,没有return任何