Dear Kumar Mainali, On 03/06/2013, at 00:01 AM, Kumar Mainali wrote:
> I am using vegan package for estimating dissimilarity within and between > clusters, and plotting them. The following code gives me a dendrogram without > X-axis. How would I add X axis to the plot? Below "dataEnv" is a matrix of my > environmental variables. dataFact$Source_by_Type has the levels that > delineate clusters. > > dataEnvDist <- vegdist(dataEnv, method="bray") ## bray curtis dissimilarity > meanDist <- meandist(dataEnvDist, dataFact$Source_by_Type) > plot(meanDist, ylab="Mean dissimilarity") > What should the X-axis show? You can add X-axis with command axis(1), but it hardly shows anything useful. Cheers, Jari Oksanen -- Jari Oksanen, Dept Biology, Univ Oulu, 90014 Finland ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

