[R] Create simulated data's using mvrnorm
aparna.sampath26 at gmail.com
Wed Jul 6 17:31:10 CEST 2011
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
I would like use table() to see if the separation is wide apart such that
the first 10 rows of x are clustered together. for eg: when I use table()
and if I get an ouptut like
1 2 3
1 10 0 0
2 0 10 0
3 0 0 10
Is there any way to get this kind of output?
Thanks a lot! :)
View this message in context: http://r.789695.n4.nabble.com/Create-simulated-data-s-using-mvrnorm-tp3649118p3649118.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help