Displaying 20 results from an estimated 5000 matches similar to: "Memory woes"
2001 Oct 12
1
MASS: isoMDS and sammon
If tbl is an object of class 'dist', you can do this:
a <- sammon(tbl, k=3)
But you can't do this:
b <- isoMDS(tbl, k=3)
Wouldn't it be sensible to have identical interfaces to sammon()
and isoMDS() ?
I think all that would be needed is to change this:
isoMDS <- function(d, y=cmdscale(d, 2), maxit=50, trace=TRUE)
{
...into this:
isoMDS <-
2008 Feb 20
1
Stress with MDS
Hi,
I am looking for the best multidimensional configuration for my data (47*47
distance matrix).
I ve tried classical metric (cmdscale) and non metric MDS (isoMDS, nmds)
but it is now difficult to choose the best solution because of the
uncertainties in the definitions of the "stress" function.
So, same problem, several questions :
1. Statistical consideration : With
2014 Nov 06
1
limit of cmdscale function
Hi
We have a few questions regarding the use of the "isoMDS" function.
When we run "isoMDS" function using 60,000 x 60,000 data matrix,
we get the following error message:
------------------------------------
cmdscale(d, k) : invalid value of 'n'
Calls: isoMDS -> cmdscale
------------------------------------
We checked the source code of "cmdscale" and
2007 Feb 13
4
isoMDS vs. other non-metric non-R routines
Dear useRs,
last week I asked you about a problem related to isoMDS. It turned
out that in my case isoMDS was trapped. Nonetheless, I still have
some problems with other data sets. Therefore I would like to know if
anyone here has experience with how well isoMDS performs in
comparison to other non-metric MDS routines, like Minissa.
I have the feeling that for large data sets with a high
2016 Apr 25
1
how to create initial configuraton for isoMDS
Hi,
I'm trying to use isoMDS to project a directed graph to 2-dim vectors, but I got an error.
#here is the code to create the graph using igraph package and run isoMDS on it.
library(igraph)
library(MASS)
g<-make_graph(c(1,2, 2,3, 2,4, 3,4, 4,5, 5,6, 3,6, 1,6, 2,5),directed=TRUE)
dist<-distances(g, mode="out")
loc<-isoMDS(dist)
# below is content of the dist matrix
2006 Apr 19
3
isoMDS and 0 distances
Hi,
I'm trying to do a non-metric multidimensional scaling using isoMDS.
However, I have some '0' distances in my data, and I'm not sure how to
deal with them. I'd rather not drop rows from the original data, as I am
comparing several datasets (morphology and molecular data) for the same
individuals, and it's interesting to see how much morphological
variation can be
2004 Feb 26
2
Multidimensional scaling and distance matrices
Dear All,
I am in the somewhat unfortunate position of having to reproduce the
results previously obtained from (non-metric?) MDS on a "kinship" matrix
using Statistica. A kinship matrix measures affinity between groups, and
has its maximum values on the diagonal.
Apparently, starting with a nxn kinship matrix, all it was needed to do
was to feed it to Statistica flagging that the
2004 Mar 26
2
Fwd: MDS problems [ajtee@ajtee.uklinux.net]
Hi all,
I'm trying to perform an MDS of some data that I have. When I use
cmdscale everything is fine and I get some interesting results however,
the tends to be low.
What I wnat to do is compare this with the Non-Metric MDS using isoMDS
or sammon. However, when I try using these I get the following message.
Error in isoMDS(x.dist) : zero or negative distance between objects 2
and 4
2004 Sep 08
8
isoMDS
Dear List:
I have a question regarding an MDS procedure that I am accustomed to
using. I have searched around the archives a bit and the help doc and
still need a little assistance. The package isoMDS is what I need to
perform the non-metric scaling, but I am working with similarity
matrices, not dissimilarities. The question may end up being resolved
simply.
Here is a bit of substantive
2013 Feb 27
1
best ordination method for binary variables
Dear all,
I'm analyzing a dataset (A) of 400 cases with 11 binary variables.
Unfortunately, several (actually a lot) of cases are identical. NA are also
present.
I want to to plot distances between cases.
For this, I obtained a distance matrix by dist(A, method="binary"). I then
analyzed the obtained distance via Principal coordinate analysis with
cmdscale(). Results are fine.
2004 Apr 12
1
question on isoMDS
Hello everyone,
I have a question on isoMDS.
My data set (of vegetation) with 210 samples is in this way:
Rotfoehrenau Lavendelweidenau Silberweidenau ....
067_Breg.7 0 2 0 ....
071_Dona.4 0 2 6 ....
...
I want to do an isoMDS-analysis with the dissimilarity index
2005 Mar 21
1
How to do such MDS in R
i know cmdscale and isoMDS inR can do classical and non-metric MDS.but i want to konw if there is packages can carry on "individual differences scaling" and "multidimensional analysis og preference"?both method are important one,but i can not find any clue on how to do it using R.
anyone can help?
thank you!
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
2004 Dec 09
1
more clustering questions
Sorry to bother you kind folks again with my questions. I am trying to
learn as much as I can about all this, and I will admit that I don't
have the proper background, but I hope that someone can at least point
me in the correct direction.
I have created a test matrix for what I want to do:
s1 s2 s3 s4 s5
s1 10 5 0 8 7
s2 5 10 0 0 5
s3 0 0 10 0 0
s4 8 0 0 10 0
s5 7
2011 Apr 02
3
Plotting MDS (multidimensional scaling)
Hi,
I just encountered what I thought was strange behavior in MDS. However, it
turned out that the mistake was mine. The lesson learned from my mistake is
that one should plot on a square pane when plotting results of an MDS. Not
doing so can be very misleading. Follow the example of an equilateral
triangle below to see what I mean. I hope this helps others to avoid this
kind of headache.
2002 Jan 10
1
Size of type double in object type dist (PR#1255)
The following problem occurs in R 1.4.0 and 1.3.1 for Windows95,
but not in R 1.2.0 for Windows95.
The problem does not occur in R 1.4.0 for Linux PC, Linux Alpha
and HP-UX.
Sometimes, the type of 'Size' of an object of type 'dist'
changes from integer into double. Running cmdscale on such a
'dist' object gives invalid results.
I don't know what should be considered
2008 Dec 10
1
convert dataframe to matrix for cmdscale
I have a dataframe like this (toy example):
x y z
"a" "a" 0
"a" "b" 1
"a" "c" 2
"b" "a" .9
"b" "b" 0
"b" "c" 1.3
"c" "a" 2.2
"c" "b" 1.1
"c" "c" 0
The observations are from a matrix like this:
c 2.2 1.1 0.0
b 0.9 0.0
2005 Apr 20
4
results from sammon()
Dear all,
I'm trying to get a two dimensional embedding of some data using different
meythods, among which princomp(), cmds(), sammon() and isoMDS(). I have a
problem with sammon() because the coordinates I get are all equal to NA.
What does it mean? Why the method fails in finding the coordinates? Can I do
anything to get some meaningful results?
Thank you very much
Domenico
2002 Apr 19
4
Multidimensional scaling
A student of mine wants to use R to do some nonmetric multidimensional
scaling. According to the R FAQ, there's a package called pcurve that
computes multidimensional scaling solutions, but I was not able to locate
it the contrib page (I am a Windows user with R version 1.4.1). Can
anyone tell me whether it is possible to do nonmetric multidimensional
scaling with R, and if so, how?
John
2012 May 23
1
procrustes (vegan) plot of residual differences
Hello
This is a simple question but I couldn't google an answer.
In the procrustes function of the vegan package, one uses
plot(procrustes_object, kind=2) to obtain a plot of the residual
differences. For instance:
data(varespec)
vare.dist <- vegdist(wisconsin(varespec))
library(MASS)
mds.null <- isoMDS(vare.dist, tol=1e-7)
mds.alt <- isoMDS(vare.dist,