Hi I have a question regarding defining the values while using the mxMatrix. How are these values calculated?
For example in the script IntroToTwinAnalysisinRandOpenMx.R the starting values were defined as written below but how were these values determined?
svMe ← 50 # start value for means
svVa ← .8 # start value for variance
lbVa ← .0001 # lower bound for variance
As a second question I am trying to go over the script IntroToTwinAnalysisInRandOpenMx but for some of the lines I am getting an error as such
“Error in file(file, ifelse(append, “a”, “w”)) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, “a”, “w”)) :
cannot open file ‘corrs.csv’: Permission denied”
The specific line I got this error code was as follows:
Combining results into one object
Corr2<-cbind(rMZ, rDZ)
write.table(Corr2,file=“corrs.csv”,sep=",",row.names=FALSE,col.names=FALSE)
I got the permission denied error code for other lines too. What could be the reason for it?
Thank you!