Displaying 20 results from an estimated 3000 matches similar to: "Customizing ordination plots using symbols for factors"
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.
2011 Aug 10
1
Plotting Ellipses and Points of Matching Colors in an Ordination
Hello, R-Help -
I am trying to plot the results of an ordination from package vegan. The
tricky part for me right now is getting the colors of the ellipses denoting
the 95% confidence intervals of the group centroids to match the colors of
the points for those same groups.
>From and earlier post, I saw the code to make a plot of the ordination using
different colors for my different groups.
2010 Dec 01
1
procrustes results affected by order of sites in input file
Dear All,
I am using a Procrustes analysis to compare two NMDS ordinations for the
same set of sites. One ordination is based on fish data, the other is based
on invertebrate data. Ordinations were derived using metaMDS() from the
{vegan} library as follows:
fish.mds<-metaMDS(fish.data, distance="bray", k=3, trymax=100,
wascores=TRUE, trace=TRUE, zero="add")
2007 Aug 24
1
Adding new points to a metaMDS ordination ("vegan" pkg)
Hi, I've been using R for a while now but I've got a problem with
metaMDS (in the vegan package) that I can't quite figure out.
I have a set of proportion data (from 0-1, rows sum to 1) that I apply
metaMDS to using the command:
nMDS.set=metaMDS(sqrt(test.set),distance="euclidean",k=3,zerodist="add",autotransform=FALSE)
I am using a squared-chord distance
2011 Sep 23
1
Envfit, inconsistant result?
Hi R-experts,
I am using the envfit function over an ordination of floristic data.
The problem is that every time that I run it changes the results. Sometimes
dramatically, selecting variables that the first time were not significant.
I do not get what could be the problem or if is normal given the
permutations are different.
# the NMDS ordination
gap_flor_NMDS_chord <- metaMDS(gaps_flor,
2010 Jan 06
1
positive log likelihood and BIC values from mCLUST analysis
My question is with respect to mCLUST and the values of BIC and log
likelihood. The relevant part of my R script is:
######################### BEGIN MDS ANALYSIS #########################
#load data
data <- read.table("Ecoli33_Barry.dis", header = TRUE, row.names = 1)
#perform MDS Scaling
mds <- metaMDS(data, k = Dimensions, trymax = 20, autotransform =TRUE,
noshare = 0.1,
2011 Nov 24
4
I cannot get species scores to plot with site scores in MDS when I use a distance matrix as input. Problems with NA's?
Hi, First I should note I am relatively new to R so I would appreciate answers that take this into account.
I am trying to perform an MDS ordination using the function ?metaMDS? of the ?vegan? package. I want to ordinate species according to a set of functional traits. ?Species? here refers to ?sites? in traditional vegetation analyses while ?traits? here correspond to ?species? in such
2008 Apr 11
1
Vegan plotting- color help
I have looked all over the internet for being able to color sites
differently in a plot of an MDS (metaMDS)- I would like to color the
different sites in the ordination plot (plot or ordiplot). I have set
the matrix up so that my site code is 1 .... 296 (first column). is
there a way to make 1-23 blue, 24-40 red etc.
thanks
Stephen
--
Let's not spend our time and resources thinking
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,
2011 Mar 10
1
3 dimensional MDS plots
Hi,
I am trying to create 3 mds plots: one with axis 1 vs axis 2, one with axis 2 vs axis 3, and one with axis 1 vs axis 3. When inputting my code, I only end up with one diagram and when inputting
mdsg.mds$dims, the program returns 2 for 2 dimensions. How can I create the other two plots?
Any help would be greatly appreciated,
Calla Carbone
The table I use is number of each taxa on each
2010 Apr 05
4
NMDS Ordination Graphics Problem
Dr. Stevens,
Hi, my name is Trey Scott, and I'm a grad student of Brian McCarthy's. He
referred me to you because of your expertise in handling complex R problems.
We were hoping you could help us solve a nagging problem that is prohibiting
me from producing graphicl output.
Here is a simple mock-up of the matrix I'm using
a b c d e f
1i 1 4
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
2013 Apr 11
1
Ordination Plotting: Warning: Species scores not available
Hi,
I am working with a species-by-trait .csv file (columns=traits, rows=species) and get the following warning message when trying to plot results of both metaMDS and pcoa:
"Warning message:
In ordiplot(x, choices = choices, type = type, display = display, :
Species scores not available"
I am using a Gower's transformation in both procedures within the metaMDS or pcoa
2008 Apr 14
1
Vegan R^2 and tau values for metaMDS
I am using the function metaMDS with jaccard distances to ordinate a
set of constituent by site matrix. I can post this data if it would
be helpful, but it is large to include in an email. I can also
provide reproducable code if necessary. I would like to get an R^2
value for the axes of the ordination configuration that I get with
metaMDS in the vegan package is there a way to do this- is it
2006 Nov 10
2
Problems with metaMDS from vegan
Hello all,
I recently used the Vegan library quite extensively (in the context of
text similarity assessment) on an Ubuntu 6.06 LTS system with R version
2.2.1 (2005-12-20 r36812). The Vegan lib is version 1.6-10.
I hit on a problem yesterday, though, when trying to install R and Vegan
on two further computers - one Windows XP and one further Ubuntu 6.06
machine, taking either R version 2.4.0
2011 Sep 09
1
envfit vector labels with ordiplot3d
Hi R experts,
I'm looking for some help with plotting vectors from envfit in vegan, onto a
3d plot using ordiplot3d. So far I have
data.mds <- metaMDS(data, k=3,trace = FALSE)
vect_data<-envfit(data.mds,vegdata[,3:21],choices=1:3,permu=9999)
ordiplot3d(data.mds,envfit=vect_data)
ordixyplot(data.mds,pch=pts,envfit=vect_data)
(my data's not really called data, I thought it might be
2009 May 27
1
vegan metaMDS question
The design decision in metaMDS says that it uses:
Minchin, P.R. (1987) An evaluation of relative robustness of
techniques for ecological ordinations. Vegetatio 71, 145-156.
This is the paper that I found by the same name. Is this the correct reference?
Minchin, Peter R.1987. An Evaluation of the Relative Robustness of
Techniques for Ecological Ordination. Vegetatio. Vol. 69, No. 1/3:
89-107.
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
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.,
2013 Jun 22
1
metaMDS Error, Nan similar or negative values
H
ello R-experts,
I want to do ordination plots using vegan metaMDS.
I have a where many cells have zero values.
Data structure:
X[1:10,1:14]
Height.1 Height.2 Height.3 Height.4 Height.5 Height.6 Height.7
Height.8 Height.9 Height.10 Height.11 Height.12 Height.13
D30I1A 46 0 0 0 0 0 0
0 0 0 39 0 98
D30I1B