An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130602/15603334/attachment.pl>
X-axis in meandist {vegan}
2 messages · Kumar Mainali, Jari Oksanen
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