I need some advise on statistics. I have written the code below. What i'm
trying to do here is that i read 1000 distance matrices derived from the
same original data set. Afterwards I wan to create a consensus matix out of
those 1000 distance matrices to see the relevance of the original matrix.
Is that correct ?? should i be doing something else ?
#Reading 1000 distance matrices
for (i in 1:nb_runs)
# First matrix we read
#the other 999 matrices
Mdist <- Mdist+dis
#Get the consensus matrix based on 1000 matrices
Is that correct ?? the code works properly.