Displaying 5 results from an estimated 5 matches for "dissim".
Did you mean:
issim
2006 Nov 19
4
The most common row in a matrix?
Hi,
How do you get the most common row from a matrix? If I have a matrix
like this
array(1:3,dim=c(4,5))
[,1] [,2] [,3] [,4] [,5]
[1,] 1 2 3 1 2
[2,] 2 3 1 2 3
[3,] 3 1 2 3 1
[4,] 1 2 3 1 2
in which rows 1 and 4 are similar, I want to find that vector c
(1,2,3,1,2).
Atte Tenkanen
University of Turku, Finland
2003 Mar 25
0
isoMDS results
...cond try to post this to the R-help mailing list. The first one
has been rejected because of a too large attachment.
Now I ask this without attaching the data. If you want to reproduce the
results, please contact me directly to get the data.
(First mail, rejected:)
> Attached there is a 149*149 dissimilarity matrix; it is a file obtained by
> save(dm,file="dissim.Rsav").
OK, here is my question:
I worry about the reproducability of the results of isoMDS.
I try
> set.seed(5678)
> mdslinux <- isoMDS(dm,k=4)
initial value 31.071976
final value 31.071976
converged
>...
2005 Nov 04
1
Stress in multidimensional scaling
Hello,
We are trying to find a function to compute "stress" in our
multidimensional scaling analysis of a dissimilarity matrix. We've used
"dist()" to create the matrix and "cmdscale()" for the scaling. In order
to determine the number of dimensions we would like to plot stress vs.
dimensions. However, we cannot find a pre-made command. It seems that
other programs may test stress as p...
2006 Feb 22
0
ylim in dendrogram plot ... error
I'm trying to plot a dendrogram object which is created using
"as.dendogram" function. It works fine however I can not change the
yaxis limits of the plot.
tree<-as.dendrogram(hclust(as.dist(dissim),method="single"))
plot(tree,ylim=range(0,20))
Error in plot.default(0, xlim = xlim, ylim = ylim, type = "n", xlab =
xlab, :
formal argument "ylim" matched by multiple actual arguments
This is imporatant for getting a consistant scale for different...
2012 Aug 30
2
self-defined distance function to be computed on matrix
Hello,
I have a self-defined function to be computed on each column in a matrix.
The basic idea is to ignore the elements that have value of 0 during
computation.
I should be able to write my own function but it could be computational
expensive, so I'd love to ask if anyone may have suggestions on how to
implement it more efficiently. Thanks in advance.
For example, there are three