Skip to content
Prev 294051 / 398503 Next

plot betadisper, change of pch

Runnig the examples from ?betadisper and adding a pch statement gives:

 >      plot(mod, pch=2)
Error in plot.xy(xy.coords(x, y), type = type, ...) :
   formal argument "pch" matched by multiple actual arguments

 > traceback()
5: plot.xy(xy.coords(x, y), type = type, ...)
4: points.default(g$centroids, pch = 16, cex = 1, col = "red", ...)
3: points(g$centroids, pch = 16, cex = 1, col = "red", ...)
2: plot.betadisper(mod, pch = 2)
1: plot(mod, pch = 2)

This shows that the author hardcoded the pch in the code, hence you can 
only change it by changing the code - or send a feature request to the 
vegan maintainer (ideally including a patch, CCing).

Best,
Uwe Ligges
On 09.05.2012 12:20, Albin Blaschka wrote: