Error: unexpected ',' in "

Posted on
Picture of user. Daria Henning Joined: 12/18/2013

Hi,

I am getting a bit lost with the following error below. I frequently get it when runnning the specified data matrices. Sometimes the error pops up at different points. As I really cannot see any typos etc. I am starting to get quite annoyed about it.

Does somebody has any suggestions?

I would appreciate it very much!
Thanks already.

title = " Factor model Personality traits at 3 timepoints"
> obs = mxData(observed = akkercov, type = 'cov', means = petrmeans, numObs = 290)
> matrixL = mxMatrix(
+ type = 'Full',
+ nrow = 15,
+ ncol = 3,
+ free = (TRUE,FALSE,FALSE,
Error: unexpected ',' in:
" ncol = 3,
free = (TRUE,"

Replied on Thu, 12/19/2013 - 17:07
Picture of user. tbates Joined: 07/31/2009

you're saying (T,T) instead of c(T,T)

hence


Error: unexpected ',' in:
" ncol = 3,
free = (TRUE,"