Skip to content

change arrow colour when plotting rda

3 messages · Mariano Devoto, gabriel singer, Jari Oksanen

#
On 7/05/10 01:09 AM, "Devoto Mariano" <mdevoto at agro.uba.ar> wrote:

            
Mariano,

You should have tried text() or points():

m <- rda(varespec ~ Al + P + K, varechem)
plot(m, type="n") # an empty plot
text(m, display="bp", col=2) # add red arrows

The text() function draws both arrows and labels, and points() only
unlabelled arrows.

See ?text.cca, ?points.cca for details and further arguments.

Cheers, Jari Oksanen