[R] plot(my.procrustes.model) from library {vegan}

Gavin Simpson gavin.simpson at ucl.ac.uk
Mon Feb 23 11:37:34 CET 2004


Federico Calboli wrote:
> Dear All,
> 
> I would like to ask how to customize the graph corresponding to a
> procrustes analysis.
> 

<SNIP>

The object returned by procrustes() contains Yrot and X, the rotated 
matrix and the target matrix respectively. You could plot both of these 
using standard plotting tools. You'll need to make the axes have the 
same scale.

plot(mod.pro$Yrot, asp = 1)
points(mod.pro$X, col = "red", pch = 16)

Which seems to get you a similar plot to the one plot(mod.pro) produces.

> 
> Regards,
> 
> Federico Calboli 

HTH

Gavin




More information about the R-help mailing list