I figured it out. I had to specify the first column as my row names. Please ignore my previous mail
________________________________ From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Sun 9/3/2006 2:40 AM To: Rick Bischoff Cc: Nair, Murlidharan T; [email protected] Subject: Re: [R] princomp/biplot On Sat, 2 Sep 2006, Rick Bischoff wrote: > Infinite values? Or NA or NaN values > On Sep 2, 2006, at 3:48 PM, Nair, Murlidharan T wrote: > > > I am getting the following error when I an trying to use princomp > > princomp(unique.data) > > Error in cov.wt(z) : 'x' must contain finite values only > > > > What do I look for? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
