[R] fill binary matrices with random 1s

2011-11-29 Thread Grant McDonald
Dear all, I am finding difficulty in the following, I would like to create an empty matrix e.g. 10x10 of 0s and sequentially fill this matrix with randomly placed a 1s until it is saturated. Producing 100 matrices of sequentially increasing density., This process needs to be randomized 1000 ti

Re: [R] Matrix for correlation

2011-11-29 Thread Grant McDonald
Do you have multiple data points for Car/Train etc? And do you want to see if there are differences between in mean/medians these modes of transport? If so explore anova, kruskal-wallis . > Date: Tue, 29 Nov 2011 16:57:57 +0100 > From: lig...@statistik.tu-dortmund.de > To: falk.hilli...@tw