Re: [R] Create simulated data's using mvrnorm

2011-07-08 Thread Uwe Ligges
Not sure if I understand your problem completely. If so, you could try to run an LDA on the x with y as classlabels factor(rep(1:3, each=10)) and see if it can perfectly separate the classes. Uwe Ligges On 06.07.2011 17:31, Aparna Sampath wrote: Hi All This might be something very trivia

[R] Create simulated data's using mvrnorm

2011-07-06 Thread Aparna Sampath
Hi All This might be something very trivial but I seem to miss something in the syntax or logic which makes me keep wandering around the problem without arriving at a solution. What I want to do is to simulate a sample data for performing cluster analysis. I tried to use x1= mvrnorm(10,rep(0.8,