khabbazian / l1ou

Detection of evolutionary shifts in Ornstein-Uhlenbeck models
GNU General Public License v2.0
19 stars 7 forks source link

COV_matrix divided by 2alpha #17

Closed yuqing19118 closed 7 years ago

yuqing19118 commented 7 years ago

Hello Professor Cecile and Mohammad,

I have made changes in sqrt_OU_covariance.R function. I also added some examples in the manual page to check those are correct square root matrix because they are satisfied with t(SqrtInvSigma)*V*SqrtInvSigma=Identity matrix. I think I may remove them later but it is a way to show those changes are correct.

Thanks, Sabrina