[R] data.frame error using sem package

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Oct 6 21:49:05 CEST 2005


Suzanne Witt wrote:
> I keep getting this error when I try to use the sem package.  I and  
> another person who has successfully used the sem package for similar  
> analysis (fMRI effective connectivity) cannot figure out what is  
> wrong with my code.  I would appreciate any suggestions.


It is almost impossible to help if you do not specify a toy example that 
shows how you produced that error message.
Please read the psoting guide which tells you how to specify such 
examples most appropriately in order to get a good answer.

Uwe Ligges



> The error message:
> 
> Error in data.frame(object$coeff, se, z, 2 * (1 - pnorm(abs(z))),  
> par.code) :
>      arguments imply differing number of rows: 6, 0
> In addition: Warning message:
> Could not compute QR decomposition of Hessian.
> Optimization probably did not converge.
> in: sem.default(ram = ram, S = S, N = N, param.names = pars,  
> var.names = vars,
> 
> 
> Thank you,
> 
> Suzanne
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list