Skip to content
Prev 294054 / 398503 Next

plot betadisper, change of pch

On May 9, 2012, at 6:20 AM, Albin Blaschka wrote:

            
In such an instance you generally need to get the code of a possibly  
hidden function named "plot.<class-returned-by-betadisp>" where you  
get the class by running:

class(mod)  # then type
plot.<that-result>  # and if that fails
getAnywhere(plot.<that-result>)

Then go in and either add a 'pch' argument or change the hardcoded  
values in the function body.

As it turns out you can see the function without even loading vegan  
just by doing this:

vegan:::plot.betadisper

'pch' appears a couple of times and it is colliding with your values  
in the points() calls. The function should probably be written so that  
it can accept a 'pch' argument.