"A big computer, a complex algorithm and a long time does not equal science." -- Robert Gentleman
A = matrix(c("a","b","c","d","e","u","v",rep("x",3)),5,2,byrow=F)unique(A[, 2])
Do you know how to convert a vector into a distance matrix?
Questo commento è stato eliminato dall'autore.
Sorry for the 'out of time' answer:See this link to see what i mean for distance matrix.v = rnorm(100)dm = dist(v)# fake application# run hclustdm.hclust <- hclust(dm)# plot the dendrogramplot(dm.hclust, cex = 0.6)
Do you know how to convert a vector into a distance matrix?
RispondiEliminaQuesto commento è stato eliminato dall'autore.
RispondiEliminaDo you know how to convert a vector into a distance matrix?
RispondiEliminaSorry for the 'out of time' answer:
RispondiEliminaSee this link to see what i mean for distance matrix.
v = rnorm(100)
dm = dist(v)
# fake application
# run hclust
dm.hclust <- hclust(dm)
# plot the dendrogram
plot(dm.hclust, cex = 0.6)