Dear R-list
I'm trying to get each regression line, plotted using abline, to be of a
different colour as the following code illustrates. I'm hoping there is a
simple indexing solution. Many thanks.
## code from here
colours=c(black,red,blue,green,pink)
-
From: tom.wild...@sams.ac.uk
Sent: Mon, 27 May 2013 10:39:58 +
To: r-help@r-project.org
Subject: [R] Indexing within by statement - different coloured lines in
abline wanted..
Dear R-list
I'm trying to get each regression line, plotted using abline, to be of a
different colour
by statement - different coloured lines in
abline wanted..
Dear R-list
I'm trying to get each regression line, plotted using abline, to be of a
different colour as the following code illustrates. I'm hoping there is
a simple indexing solution. Many thanks.
## code from here
colours=c(black,red,blue
3 matches
Mail list logo