Displaying 20 results from an estimated 1000 matches similar to: "Multidimensional Scaling (MDS) in R"
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
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
2010 Jan 12
1
Non-metric multidimensional scaling (NMDS) help
Hi,
I am currently working on some data and feel that NMDS would return an
excellent result. With my current data set however I have been experiencing
some problems and cannot carry out metaMDS. I have tried with a few smaller
data sets which I created for practice sake and this has worked fine.
I think it is the set up of my data set that is causing me trouble. I have
18 columns and 18 rows,
2012 Jul 27
1
labeling loading vectors in vegan
Hello,
I am using vegan to do an NMDS plot and I would like to suppress the labels
for the loading vectors. Is this possible? Alternatively, how can I avoid
overlap?
Many thanks for the help.
Example code:
#perform NMDS using metaMDS() function
spe.nmds<-metaMDS(data, distance='bray',k=2 , engine = "isoMDS",
autotransform=F, trymax=1000)
#calculate the loading (i.e.,
2010 May 25
2
Calculation time of isoMDS and the optimal number of dimensions
Dear all,
I'm running a set of nonparametric MDS analyses, using a wrapper for isoMDS,
on a 800x800 distance matrix. I noticed that setting the parameter k to
larger numbers seriously increases the calculation time. Actually, with k=10
it calculates already longer than for k=2 and k=5 together. It's now
calculating for 6 hours, and counting...
There is quite a difference between the
2008 Sep 09
2
NMDS and varimax rotation
hello,
subsequently to a NMDS analysis (performed with metaMDS or isoMDS) is
it possible to
rotate the axis through a varimax-rotation?
Thanks in advance.
Bernd Panassiti
2007 Nov 14
1
label plotting on nmds diagram
Hi,
I'm using nmds command (library vegan) to analyze some fishing data.
I'd like to plot not only points, but also the names of species and stations in
a specified position.
I used the command
text(nmds$points[,1], nmds $points[,2],labels=row.names(nmds
$points),pos=3,cex=0.5)
But the labels are sometimes overlapped.
Is there any way to use identify, or a similar command, to plot the
2008 Jul 05
2
p-value for Nonmetric Multidimentional Scaling?
Dear R-helpers,
I am running metaMDS in the vegan package, which uses isoMDS in MASS, to perform Nonmetric Multidimentional Scaling (NMDS).
I have seen some authors report a p-value for the NMDS ordination based on randomization of the dataset. As I understand it this is meant to compare the stress in your dataset to multiple runs of randomized data.
I do not see a way to perform such a test in
2010 Mar 17
3
Are loops handled differently in newer versions of R?
Hi gang,
I'm perplexed- I have some code that uses for() loops that works fine in
R version 2.8 on my mac, worked fine in version 2.8 on my old windows
machine, but doesn't work in version 2.10 on windows.
The loop implements a function over a data frame (code is included below).
In Mac (running version 2.8), the results of the loop are what I expect:
> p_unadj
[1] 0.034939481
2018 Apr 17
2
nMDS with R: missing values
Dear All,
I was wondering whether anyone might be able to provide some advice with an nMDS / R problem. I?m trying to run nMDS on a dataset that contains many missing values and was wondering how I can account for the missing values when running nMDS? It seems as though the data are being grouped depending on where the zero values appear. Any suggestions greatly appreciated. Thank you very much
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
2006 Oct 21
1
Problems running IsoMDS using vegdist with pres-abs data and two sites with zero distance
Hi
I have just (finally) started to poke around in R and wanted to analyse
a stream fish dataset with 28 sites and 18 species. When trying to
follow the Vegan manual to run nmds from distance measures calculated by
the vegdist function it turns out that I have two sites (streams) with
the exactly the same four species (I have used pres-abs data in this
case). When I try to run isoMDS I get an
2008 Dec 30
1
why stress value remains so high after invoking of metaMDS
Hello everyone!
metaMDS(cm, distance = "euclidean", k = 2, trymax = 50, autotransform
=TRUE, trace = 1, plot = T)
(cm is a similarity matrix, in which values are positive integers or 0)
I use this command to run NMDS on my matrix "cm". But the stress is very
high after analysis. About 14.
Actually, there is no improvment comparing with using isoMDS.
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.
2013 Apr 26
1
NMDS in Vegan: problems in stressplot, best solution
Hello,
I can draw a basic stress plot for NMDS with the following code in package
Vegan.
> stressplot(parth.mds, parth.dis)
When I try to specify the line and point types, it gives me error message.
> stressplot(parth.mds, parth.dis, pch=1, p.col="gray", lwd=2, l.col="red")
Error in plot.xy(xy, type, ...) : invalid plot type
In the above code, if I removed line type,
2000 Aug 22
2
various ordinations
Colleagues,
I'm developing a library of functions for community ecology analyses and
have a couple of questions that I've not been able to answer via faqs or
docs.
1) Are there existing functions for:
a) Bray-Curtis (polar) ordination?
b) non-metric multidimensional scaling (NMDS)?
c) canonical correlation analyses (CCA and DCA)?
d) TWINSPAN (doubtful...)?
2) If not,
2010 Apr 13
1
vegan (ordisurf): R² for smoothed surfaces
Dear r-helpers,
I just read in an article by Virtanen et al. (2006) where vegetation-environment relationships are studied by fitting smoothed surfaces on an NMDS ordination using GAMs (Wood 2000). The authors describe, that they used R? as goodness-of-fit statistic, which they compare to the R? of fitted vectors. Calculations were carried out using the package vegan (Oksanen).
I know that I can
2004 May 13
2
BIO-ENV procedure
I've been unable to find a R package that provides the means of
performing Clarke & Ainsworth's BIO-ENV procedure or something
comparable. Briefly, they describe a method for comparing two separate
sample ordinations, one from species data and the second from
environmental data. The analysis includes selection of the 'best'
subset of environmental variables for explaining
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
2011 May 10
3
metaMDS and envfit: Help reading output
Hello R experts,
I've used metaMDS to run NMDS on some fish abundance data, and am also working on correlating environmental data to the NMDS coordinates. I'm fairly new to metaMDS and NMDS in general, so I have what are probably some very basic questions. My fish abundance data consists of 66 sites for which up to 20 species of fish were identified and counted. I ran metaMDS on this data