Try again. There is no dotPlot() function in lattice and dotplot() does not 
take two separate rows so the example you gave us generates an error message if 
dotPlot is changed to dotplot.


----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&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 gimp? I have many dotPlots, so it is
fine if R can do this.


2011/10/26 Dennis Murphy <djmu...@gmail.com>:
> 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 <jo...@reuter.at> wrote:
>> 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 must I use gimp? I have many dotPlots, so it is
>> fine if R can do this.
>>
>> Thanks Joerg
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to