Thanks for your answer, Peter. I solved it. The problem actually seemed to be in tha data format in the SPSS file I imported into R. C. -- View this message in context: http://r.789695.n4.nabble.com/Problems-with-package-npmc-tp3390472p3390915.html Sent from the R help mailing list archive at Nabble.com.