is this what you are looking for
library(lattice)
(Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3,
4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6))
plot(Seq[1,], Seq[2,], main = "Sequenz 1 und
Sequenz 2", asp = 1)
abline(a=0,b=1,col='red',lwd=2)
--
View this message in context:
http://r.789
&M University
College Station, TX 77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Jörg Reuter
Sent: Wednesday, October 26, 2011 8:13 AM
To: Dennis Murphy
Cc: r-help@r-project.org
Subject: Re: [R] dotPlot with diagonal
Oh, sorry.
library(lattice)
(Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3,
4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6))
dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und
Sequenz 2", asp = 1)
Is there a way to draw a small diagonal, begin at (0/0) to (6/6)
(perhaps in red??) or must I use gi
Let's see: there is a dotPlot() function in each of the following packages:
BHH2, caret, mosaic, qualityTools
Would you be kind enough to share which of these packages (if any) you
are using?
Dennis
On Wed, Oct 26, 2011 at 4:25 AM, Jörg Reuter wrote:
> Hi,
> I want draw a dotPlot. All works fine
Hi,
I want draw a dotPlot. All works fine:
(Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3,
4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6))
dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und
Sequenz 2", asp = 1)
Is there a way to draw a small diagonal, begin at (0/0) to (6/6)
(perhaps in red??) or
5 matches
Mail list logo