search for: firefactors

Displaying 1 result from an estimated 1 matches for "firefactors".

2011 Aug 10
1
Plotting Ellipses and Points of Matching Colors in an Ordination
...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. My functional code is below: library(vegan) comvars <- read.csv("commvars9trim2.csv") com.mds <- metaMDS(comvars, trace=FALSE) firefactors <- read.csv("commvars9factors.csv") plot(com.mds, type = "n") points(com.mds, dis="si", pch = as.numeric(firefactors$comm4), col = as.numeric(firefactors$comm4)) This code will generate the ordination and plot it, using the factor levels from firefactors$comm4 to d...